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

Jeremy Allison jra at samba.org
Thu Jun 9 16:16:27 UTC 2016


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.


> [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