[Samba] Samba 4.2 - OS X 10.11 - permissions are being ignored

Martin Markert mail at perfektionsloge.com
Mon Jun 13 14:19:06 UTC 2016



Am 2016-06-09 18:16, schrieb Jeremy Allison:
> On Thu, Jun 09, 2016 at 02:11:15PM +0200, Martin Markert wrote:
>> Hi,
>> when saving a file to this share the permissions (0777) are being
>> ignored under OS X 10.11.5. All files will get these permissions:
>> 0755. I don't know why?
> 
> Remember, "force XXX mode" only applies to file/directory
> creation. The client is then free to change permissions
> after the object is created.

Yes, I know. But after simply creating a folder within the Finder the 
folder got these permissions on the share: 0755 and not 0777

> 
> 
>> [global]
>>         workgroup = BAVARIA
>>         server string = Samba Server %m
>>         netbios name = NASBAV1
>> 
>>         log file = /var/log/samba/%m_%a_%R.log
>>         max log size = 50
>>         log level = 1
>> 
>> 	security = user
>>         encrypt passwords = yes
>> 
>>         preferred master = no
>> 
>>         printcap name = /etc/printcap
>>         load printers = no
>> 
>> [nova1]
>>         comment = projects share
>>         path = /data/nova1
>>         read only = No
>>         valid users = lustreuser
>> 	vfs objects = catia fruit streams_xattr
>>                 fruit:resource = file
>>                 fruit:metadata = netatalk
>>                 fruit:locking = none
>>                 fruit:encoding = private
>>        force directory mode = 0777
>>        force create mode = 0666
>> 
>> Kind regards,
>> Martin
>> 
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list