Docker Development - Permissions Issue


Recommended Posts

Hi All,

 

I have read the docker developer guidelines but I am still having issues with files being created by my docker which I am then unable to edit / delete from my windows machine logged in as a user. The user I log in with to access the shares is not root but has full read write permission to the share. 

 

Below are the related permissions parts of my dockerfile and its install.sh script it initiates. The entirety of it can be found here: https://github.com/ChessDragon136/OneDrive-Docker

 

I'm sure this used to work with 6.5.3.. 

 

Thanks in advance - I know its likely something stupid - as a programmer it is always the obvious that eludes you.. 

 

Start of install.sh script

#Setup User Environment

mkdir -p /home/nobody

usermod -u 99 nobody

usermod -g 100 nobody

groupmod -g 100 users

usermod -d /home/nobody nobody

chown -R nobody:users /home

 

after execution of install.sh script, after I have created the docker volumes to the appdata and data volumes

RUN chown -R nobody:users /OneDriveConf

RUN chown -R nobody:users /OneDriveData

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.