Project

Profile

Help

Issue #6361

closed

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

Added by bmbouter about 4 years ago. Updated almost 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
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'
Actions #1

Updated by bmbouter about 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
Actions #2

Updated by bmbouter about 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
Actions #3

Updated by fao89 about 4 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by dkliban@redhat.com almost 4 years ago

  • Category set to 27
Actions #5

Updated by dkliban@redhat.com over 3 years ago

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

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 78 to Sprint 79
Actions #7

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 79 to Sprint 80
Actions #8

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 80 to Sprint 81
Actions #9

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 81 to Sprint 82
Actions #10

Updated by fao89 over 3 years ago

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

Actions #11

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 82 to Sprint 83
Actions #12

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 83 to Sprint 84
Actions #13

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 84 to Sprint 85
Actions #14

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 85 to Sprint 86
Actions #15

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 86 to Sprint 87
Actions #16

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 87 to Sprint 88
Actions #17

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 88 to Sprint 89
Actions #18

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 89 to Sprint 90
Actions #19

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 90 to Sprint 91
Actions #20

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 91 to Sprint 92
Actions #21

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 92 to Sprint 93
Actions #22

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 93 to Sprint 94
Actions #23

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 94 to Sprint 95
Actions #24

Updated by rchan almost 3 years ago

  • Sprint changed from Sprint 95 to Sprint 96
Actions #25

Updated by daviddavis almost 3 years ago

  • Tags Single Container added
Actions #26

Updated by rchan almost 3 years ago

  • Sprint changed from Sprint 96 to Sprint 97
Actions #27

Updated by daviddavis almost 3 years ago

  • Status changed from ASSIGNED to CLOSED - DUPLICATE

Also available in: Atom PDF