Web lists-archives.com

Re: [Samba] Force primary group when using vfs_acl_xattr




On Tue, 18 Jul 2017 23:41:45 +0200
Gionatan Danti via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Il 18-07-2017 00:26 Gionatan Danti via samba ha scritto:
> > Hi list,
> > I have a question regarding how to force the primary group id when
> > using the vfs_acl_xattr module.
> > 
> > Normally, without vfs_acl_xattr, all I need to do is to chmod g+s
> > the main directory/share and the normal Linux permissions do the
> > rest: any new file/dir will be created with the same group as the
> > main directory.
> > 
> > However, when using vfs_acl_xattr, it simply does not work: child
> > files/dirs are created with the primary group id of the connected
> > user.
> > 
> > So, I have two questions:
> > 1) is this the intended behavior, or I am missing something?
> > 2) it is possible, and how, to force a primary group when using 
> > vfs_acl_xattr?
> > 
> > Thank you all.
> 
> Hi folks, anyone with some ideas/suggestions?
> Thanks.
> 

OK, answers to your questions:
1) yes, yes
2)no, you cannot

Long answer, you are using vfs_acl_xattr, you will need to set the ACLs
from windows, just like you would have to do if you use the DC as a
fileserver.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba