[Samba] patch request - inherit owner

Jeremy Allison jra at samba.org
Mon Nov 21 16:06:15 GMT 2005


On Mon, Nov 21, 2005 at 03:24:06PM +0100, initiators at free.fr wrote:
> Hello
> 
> I've a Samba server up and running (version 3.0.20b .deb found on
> samba.org on a Debian Sarge), but it's not yet in production cause I'm
> not satisfied with some file permissions.
> 
> The file permission I'd like to have would require to have files and
> directories to inherit owner user and and owner group, with rights 770
> and root.root as the owner. And the users rights being given trought the
> "inherit acls" option.
> The problem is "inherit owner" just works for the owner user, not the
> owner group, so a patch to add an "inherit owner group" option would be
> very useful.

You do this using normal unix machanisms - this is already built into
the filesystem. Set the SGID bit on the directory. I don't want to add
Samba options that duplicate filesystem features.

Jeremy.


More information about the samba mailing list