-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting permissions #250
Comments
Thanks! that's a good suggestion. The next build will have it in there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am using the container from a docker-compose file configuring it by setting environment variables. Setting the PERMISSIONS variable I noticed that it didn't seem to do anything. When looking into samba.sh I saw that first perms() is called iterating through /etc/samba/smb.conf and then the SHARE* variables are parsed. So when perms() is called there are no shares configured and so no permissions are set. I had to go into the container after starting it to set the permissions.
I would like to suggest to change the order of variable parsing in samba.sh to make sure that smb.conf is complete before perms() is called.
Cheers, ME
The text was updated successfully, but these errors were encountered: