Web lists-archives.org

Re: [Samba] smb.conf setting for file permissions?




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@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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba