Project

Profile

Help

Issue #6361

The all in one docker container doesn't give me files on my filesystem I can't access

Added by bmbouter 9 months ago. Updated 17 days ago.

Status:
ASSIGNED
Priority:
Normal
Category:
Single Container
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 86
Quarter:

Description

I experienced the same problem in two places when using the all_in_one image from this blog post: https://pulpproject.org/2020/03/15/pulp-fedora31-single-container/

I had run the commands from a new directory on my system /home/bmbouter/pulp_all_in_one/. Then when I try to run a backup which reads all files in my home directory as a user I received several errors:

One Error

One area was in the storage directory:

ListError: 'home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/usr/lib64/redis' [Errno 13] Permission denied: b'/home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/usr/lib64/redis'
ListError: 'home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/var/lib/pgsql' [Errno 13] Permission denied: b'/home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/var/lib/pgsql'
ListError: 'home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/var/lib/redis' [Errno 13] Permission denied: b'/home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/var/lib/redis'
ListError: 'home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/var/log/redis' [Errno 13] Permission denied: b'/home/bmbouter/.local/share/containers/storage/overlay/454113ce0015f3f523dd7c49b2f25c3c9ec99464244d8e4f7941e7af01b75d3c/diff/var/log/redis'

Second Error

The second area was in the working directory itself after I deleted the layers causing the first error.

ListError: 'home/bmbouter/pulp_all_in_one/pgsql' [Errno 13] Permission denied: b'/home/bmbouter/pulp_all_in_one/pgsql'

History

#1 Updated by bmbouter 9 months ago

  • Subject changed from As a user, the all in one docker container doesn't give me files on my filesystem I can't access to The all in one docker container doesn't give me files on my filesystem I can't access

#2 Updated by bmbouter 9 months ago

Here's the permissions I see for example:

[bmbouter@localhost ~]$ ls -la /home/bmbouter/pulp_all_in_one/
total 20
drwxrwxr-x.  5 bmbouter bmbouter 4096 Mar 15 13:13 .
drwxr-xr-x. 88 bmbouter bmbouter 4096 Mar 18 09:59 ..
drwxr-x---.  3   100025   100025 4096 Mar 15 14:24 pgsql
drwxrwxr-x.  3 bmbouter bmbouter 4096 Mar 15 14:24 pulp_storage
drwxrwxr-x.  2 bmbouter bmbouter 4096 Mar 15 13:13 settings

#3 Updated by fao89 9 months ago

  • Triaged changed from No to Yes

#4 Updated by dkliban@redhat.com 5 months ago

  • Category set to Single Container

#5 Updated by dkliban@redhat.com 4 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
  • Sprint set to Sprint 78

#6 Updated by rchan 4 months ago

  • Sprint changed from Sprint 78 to Sprint 79

#7 Updated by rchan 3 months ago

  • Sprint changed from Sprint 79 to Sprint 80

#8 Updated by rchan 3 months ago

  • Sprint changed from Sprint 80 to Sprint 81

#9 Updated by rchan 2 months ago

  • Sprint changed from Sprint 81 to Sprint 82

#10 Updated by fao89 2 months ago

dkliban, do we have webhooks set on pulp-oci-images? I believe it is not updating the redmine tickets

#11 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 82 to Sprint 83

#12 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 83 to Sprint 84

#13 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 84 to Sprint 85

#14 Updated by rchan 17 days ago

  • Sprint changed from Sprint 85 to Sprint 86

Please register to edit this issue

Also available in: Atom PDF