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

chown mounted directories #48

Open
kylecarbs opened this issue Apr 20, 2019 · 5 comments
Open

chown mounted directories #48

kylecarbs opened this issue Apr 20, 2019 · 5 comments

Comments

@kylecarbs
Copy link
Member

Mounted dirs will use the root user by default. After mounting we need to chown

@nhooyr
Copy link
Contributor

nhooyr commented Apr 20, 2019

They shouldn't be root user by default, should be the same uid as whatever they are on the host.

For single user systems, this should be seamless.

@ammario
Copy link
Member

ammario commented Apr 20, 2019 via email

@nhooyr
Copy link
Contributor

nhooyr commented Apr 20, 2019

it ignores the --user flag for docker run but the mounted folder/file still has the same gid/uid as the host.

@ammario
Copy link
Member

ammario commented Apr 20, 2019

It's been my experience that the created intermediate directories are owned by root

@nhooyr
Copy link
Contributor

nhooyr commented Apr 20, 2019

That is true and highly unfortunate.

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

3 participants