Making inheritance of group ID configurable

Andre Albsmeier andre.albsmeier at siemens.com
Mon Feb 9 09:55:27 PST 2004


On Mon, 09-Feb-2004 at 16:45:11 +0000, David Malone wrote:
> 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.

Possibly. I intentionally didn't suggest this since I wanted to
attract people to the technical aspects (and the correctness) of
the patch and not to the political opinions :-).

	-Andre


> 
> 	David.

-- 
In a world without walls and fences, who needs windows and gates?


More information about the freebsd-hackers mailing list