[Samba] Clients can't write to group-writable files - plea for help

Jeremy Allison jra at samba.org
Thu Nov 17 19:36:44 UTC 2016


On Thu, Nov 17, 2016 at 02:32:12PM -0500, Josh Malone wrote:
> On 11/17/16 2:17 PM, Jeremy Allison wrote:
> >On Wed, Nov 16, 2016 at 03:25:24PM -0500, Josh Malone wrote:
> 
> >>
> >>http://www.cv.nrao.edu/~jmalone/sambalog.txt
> >
> >Looking at that log I see:
> >
> >posix_get_nt_acl: called for file .
> >
> >  canon_ace index 0. Type = allow SID = S-1-22-1-0 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
> >  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
> >  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
> >
> >So it's the top-level directory of the share
> >/data/test
> >
> >that is root.root rwxr-xr-x
> >
> >Can you check that ?
> 
> Nope - that directory is uid 2310, group 9004. I'm in group 9004.
> How can samba be getting that wrong?

Don't know - there wasn't enough of the log to tell. However,
that's what the POSIX ACL code was returning for the file
owner/group.



More information about the samba mailing list