[Samba] Samba, ACLs and 'primary group'...
Rowland penny
rpenny at samba.org
Wed Feb 5 12:15:12 UTC 2020
On 05/02/2020 12:02, Marco Gaiarin via samba wrote:
>> 2) set 'SGID' bit on directory, so files get created 'parent dir owned'
>> and not 'primary group owned'.
> Do some more tests on this.
>
> If 'vfs objects = acl_xattr' on share, 'sgid' seems ignored, folders
> still created with windows primary group ('domain users').
>
>
> If i remove it, and i add:
>
> map acl inherit = yes
> inherit permissions = yes
>
> there's no need to set SGID bit, files get created with correct
> permissions (base and ACL of the parent dir) and with correct owner
> (UNIX primary group).
>
I will ask this in a way that can only be answered with one word, 'yes'
or 'no':
Do you have ANY Windows clients ?
Rowland
More information about the samba
mailing list