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

Jeremy Allison jra at samba.org
Mon Jun 13 15:41:31 UTC 2016


On Mon, Jun 13, 2016 at 04:19:06PM +0200, Martin Markert wrote:
> 
> 
> 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

But you have no idea what the client does when "simply creatinga
folder". Under the covers that is almost certainly a compound
"create then chmod" operation.



More information about the samba mailing list