[Samba] samba does not honor set group bit on directories
peter at varkoly.de
Wed May 8 13:13:02 UTC 2019
I'm using samba 4.6.15 and 4.8.9 as AD server on a lot of openLeap 42.3
The server have numerous group directories in /home/groups. This
drirectory will be provided by a share:
comment = Shared directories of groups you are member in.
path = /home/groups
inherit permissions = Yes
inherit acls = Yes
browseable = Yes
guest ok = No
printable = No
read only = No
On the group directories the set group ID bit is set:
# file: home/groups/WBFRH1.1
# owner: root
# group: <DOMAIN>\134wbfrh1.1
# flags: -s-
Creating a file in /home/groups/WBFRH1.1 on the server the group is as
Creating a file via smbclient or from Windows client the group of the
file is the primary group of the user.
Why is the behavior different?
How can I force that samba honors the linux settings?
More information about the samba