[Samba] smb.conf setting for file permissions?

Jeremy Allison jra at samba.org
Fri May 23 19:54:26 GMT 2008


On Fri, May 23, 2008 at 02:44:45PM -0500, Mike Eggleston wrote:

> Yep, I did. Waste of bandwidth.

Not really :-). For this (older) version it looks like create mask
is overriding the chmod. Try setting create mask to 0777 and see if
this fixes it.

Jeremy.

> Mike
> 
> ------------------------------
> [root at ishwar root]# testparm -s -v | egrep -i 'mask|force'
> Load smb config files from /etc/samba/smb.conf
> Processing section "[homes]"
> Processing section "[ishwarhome]"
> Processing section "[ishwar1]"
> Processing section "[ishwar2]"
> Processing section "[ishwar3]"
> Processing section "[ishwar4]"
> Processing section "[ishwarhtml]"
> Loaded services file OK.
> 	force user = 
> 	force group = 
> 	create mask = 0744
> 	force create mode = 00
> 	security mask = 0777
> 	force security mode = 00
> 	directory mask = 0755
> 	force directory mode = 00
> 	directory security mask = 0777
> 	force directory security mode = 00
> 	force unknown acl user = No
> 	force printername = No
> ------------------------------
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list