[Samba] inherit groups?

Marc Donnelly marc at targetadv.com
Wed Feb 22 22:07:01 GMT 2006


I'm wondering if there is a better way of doing this.

Right now we have a share (ShareA) with three sub directories in it 
(Dir1, Dir2, Dir3) that have specific groups set for each directory. We 
would like to have newly created files and/or directories inherit the 
parent directories group.  Right now were using SETGID bit to 
accomplish this.

Is there a better way to accomplish this via samba?  We are using 
create mask and directory mask in smb.conf to ensure permission are 
consistent.  However that doesn't seem to affect groups ownership.  We 
also used "inherit permission = yes" but that also doesn't fill the 
need.

Is there something similar to 'inherit owner" but for groups?



More information about the samba mailing list