[Samba] MacOSX 10.9.4 with Samba 4.1.11 and permissions weirdness

Ralph Böhme slow at samba.org
Wed Nov 19 07:10:39 MST 2014


On Wed, Nov 19, 2014 at 07:53:41AM -0600, Bo Kersey wrote:
> Tried both tests.  The permissions on the folder ended up 0770 on
> the server and the perms on the file ended up 0660 as expected.
> Additionally, once the files are on the server, I cannot adjust the
> permissions with the Mac at all.  The file info says custom perms.
> If I try from the command line on the mount (/Volumes/test), I can't
> change perms either.  They seem to be locked with the settings in
> the share definition.

SMB2 -> *no* UNIX extensions -> client can't chmod

Depending on

* whether the server supports Apple's SMB2 extensions (codename AAPL,
  Apple's SMB server apparently do support it, Samba will support it
  once my patches are in),

* or (iirc) client and server are joined to a common directory service
  (AD or OD)

the client may send security descriptor change requests (UNIX mode +
optional ACL merged). The server unwraps those and converts to UNIX
mode and or POSIX ACLs. This conversion is a candidate for the
unexpected results, but I'm just guessing here.

-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de


More information about the samba mailing list