sail
sail copied to clipboard
chown mounted directories
Mounted dirs will use the root user by default. After mounting we need to chown
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.
Docker volume mounts ignore user specification
On Sat, Apr 20, 2019 at 5:01 PM Anmol Sethi [email protected] wrote:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codercom/sail/issues/48#issuecomment-485181260, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYSSUHUANNGLAFOTPL3JR3PROHB5ANCNFSM4HHKG7PA .
-- Ammar Bandukwala
Co-founder and CTO
it ignores the --user flag for docker run but the mounted folder/file still has the same gid/uid as the host.
It's been my experience that the created intermediate directories are owned by root
That is true and highly unfortunate.