[Samba] Inherit groups

Jeremy Allison jra at samba.org
Fri Jul 17 19:14:08 MDT 2009


On Wed, Jul 08, 2009 at 12:11:05PM -0700, Nick Pappin wrote:
> Hey guys, samba seems to have a share level "inherit owner" option to
> propagate the ownership of the current folder to any new files/folders
> created directly under it. Is there an equivalent command to do this at the
> group level? I know you can do it using the SUID/SGID bits but I'm worried
> about the security risk that comes with doing it this way.

No, we've historically depended on the mode bits
to do this - setting the set-group-ID bit on
a directory shouldn't have any security implications,
it's a tried and true UNIX technique.

Jeremy.


More information about the samba mailing list