Actions
Issue #6361
closedThe all in one docker container doesn't give me files on my filesystem I can't access
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Single Container
Sprint:
Sprint 97
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'
Updated by bmbouter over 4 years 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
Updated by bmbouter over 4 years 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
Updated by dkliban@redhat.com over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
- Sprint set to Sprint 78
Updated by fao89 about 4 years ago
dkliban, do we have webhooks set on pulp-oci-images? I believe it is not updating the redmine tickets
Updated by daviddavis over 3 years ago
- Status changed from ASSIGNED to CLOSED - DUPLICATE
Actions