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

Jeremy Allison jra at samba.org
Wed Nov 16 19:32:13 UTC 2016


On Wed, Nov 16, 2016 at 08:44:35AM -0500, Josh Malone via samba wrote:
> On 11/15/16 7:25 PM, Jeremy Allison wrote:
> >
> >The token is the list of uids/gids (or SIDs in Windows terms)
> >that this smbd is using to represent the user right now.
> 
> Okay - that makes sense. Thank you.
> 
> >>
> >>  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
> >
> >Looks like a perm set of rwxr-xr-x on the file to me, with
> >owner and group of root.
> 
> But the file is not root:root - it's owned by uid 12477 and group
> 9006. Why is Samba getting the wrong owner/group for this file?

That is the core of your problem. What does the full debug
level 10 log say around this message ?



More information about the samba mailing list