[Samba] SAMBA4 Fileserver & Disk Quota

Rainer Krienke krienke at uni-koblenz.de
Tue Mar 6 10:19:49 UTC 2018


Hello Micha,

we are using the sgid bit (chmod g+s <basedir>) in the base directory to
inherit the group of this base-directotry to all new directories/files
in it. In the smb share using this base directory you still have to set
"inherit permissions=yes" which takes care of inheriting the sgid bit to
new sub directories.

This way all directories/files have the same group. This works well here
 for many of our shares.

If this does not work for you, could it be that some ACL set on
00_stickygroup/ is getting in your way?

Have a nice day
Rainer

Am 05.03.2018 um 14:50 schrieb Micha Ballmann via samba:
> I tried this. When im creating a folder directly on server, the sticky
> bit is working. But it does not work when im doing it from windows.
> 
> # ls -l
> 
> drwxrws---+ 7 root stickygroup 4096 Mär  5 14:44 00_stickygroup/
> 
> Best regards
> 
> Micha
> 
> 
> 
> Am 05.03.2018 um 14:15 schrieb Michael Wandel:
>> IMHO you can use the posix sgid bit.
> 
> 


-- 
Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse 1
56070 Koblenz, Tel: +49261287 1312 Fax +49261287 100 1312
Web: http://userpages.uni-koblenz.de/~krienke
PGP: http://userpages.uni-koblenz.de/~krienke/mypgp.html



More information about the samba mailing list