Making inheritance of group ID configurable

David Malone dwmalone at maths.tcd.ie
Mon Feb 9 08:45:13 PST 2004


On Mon, Feb 09, 2004 at 05:10:59PM +0100, Andre Albsmeier wrote:
> New items created on an ufs normally inherit their group ID from
> the parent directory. I have the need for making this configurable.
> 
> Since the set-group-ID bit is not used for directories on BSD,
> I would like to use it to decide on this: If it is set, the group
> ID of the newly created item corresponds to the one of the creating
> process. (Yeah, this is exactly the wrong way around compared to
> what "the Others" do but I don't want to change the BSD default).

Would making this a filesystem option be a good idea? You could
have the default behaviour be as always and an option that makes
the filesystem behave as you've described.

	David.


More information about the freebsd-hackers mailing list