[Samba] SAMBA4 Fileserver & Disk Quota

Micha Ballmann ballmann at uni-landau.de
Tue Mar 6 11:34:49 UTC 2018


Hello Rainer,

thy very much for your help. It *works *pretty well.

I also added:

inherit owner = yes

Now i ve ensured (hope so) all created files and folder have the same 
user and group. Individual users quota now shouldn't affect by group shares.

With best regards und schönen Tag noch

Micha Ballmann

PS: Nice synergy effects between university of koblenz and landau ;).







Am 06.03.2018 um 11:19 schrieb Rainer Krienke:
> 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.
>>
>



More information about the samba mailing list