From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 9 08:45:13 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B8EF16A4CF for ; Mon, 9 Feb 2004 08:45:13 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B50A43D7D for ; Mon, 9 Feb 2004 08:45:12 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 9 Feb 2004 16:45:11 +0000 (GMT) Date: Mon, 9 Feb 2004 16:45:11 +0000 From: David Malone To: Andre Albsmeier Message-ID: <20040209164511.GB66276@walton.maths.tcd.ie> References: <20040209161059.GA732@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040209161059.GA732@curry.mchp.siemens.de> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: freebsd-hackers@freebsd.org Subject: Re: Making inheritance of group ID configurable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 16:45:13 -0000 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.