Skip to content
This repository was archived by the owner on Jan 23, 2020. It is now read-only.

New docker conatiners are not inheriting mask from /var/lib/docker/containers directory #200

Open
alpana17 opened this issue Aug 6, 2019 · 1 comment

Comments

@alpana17
Copy link

alpana17 commented Aug 6, 2019

Expected behavior

mask should be inherited

Actual behavior

mask is not inherited

Information

file: var/lib/docker/containers
getfacl for it
owner: root
group: root

user::rwx
user:splunk:r-x
group::---
mask::r-x
other::---
default:user::rwx
default:user:splunk:r-x
default:group::---
default😷:r-x
default:other::---

file: var/lib/docker/containers/0defb67a91a6ba373482c013194f2a1b1c3fb737e617d36f6897451b3e0be418
getfacl on it
owner: root
group: root

user::rwx
user:splunk:r-x #effective:---
group::---
mask::---
other::---
default:user::rwx
default:user:splunk:r-x
default:group::---
default😷:r-x
default:other::---

The newly created containers should properly inherent all perms (including mask!) from the parent directory, but they do not. It is not clear to me why this is happening.

Steps to reproduce the behavior

@alpana17
Copy link
Author

Gentle Reminder..
It is a blocker for us.
Please guide us, how to proceed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant