We help IT Professionals succeed at work.

Samba smb.conf "create mask" option for shares is not working.

kleencoder
kleencoder asked
on
8,021 Views
Last Modified: 2013-12-16
I have the following share defined in smb.conf:

[data]
   path = /home/user/data
   writeable = yes
   valid users = me, them
   force group = them
   create mask = 775

The "force group" option seems to work, but the "create mask" option does not.  All files are created with the 755 mask instead of 775--thus not giving "them" write access to files that "me" creates while using a Windows workstation to access the share.  

Note that I have restarted the samba server (service smb restart) to make sure the settings take effect, but it still doesn't work.
Comment
Watch Question

Top Expert 2005
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.