From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 9 09:55:27 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 4BFE816A4CE for ; Mon, 9 Feb 2004 09:55:27 -0800 (PST) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6275E43D1D for ; Mon, 9 Feb 2004 09:55:26 -0800 (PST) (envelope-from andre.albsmeier@siemens.com) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.11.7/8.11.7) with ESMTP id i19HtNM21282; Mon, 9 Feb 2004 18:55:23 +0100 (MET) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail3.siemens.de (8.11.7/8.11.7) with ESMTP id i19HtN313171; Mon, 9 Feb 2004 18:55:23 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) mail/cert.mc.pre,v 1.56 2003/11/06 20:07:28 ust Exp $) with ESMTP id i19HtNXY076892; Mon, 9 Feb 2004 18:55:23 +0100 (CET) Received: (from localhost) by curry.mchp.siemens.de (8.12.10/8.12.10) id i19HtNm7003647; Date: Mon, 9 Feb 2004 18:55:23 +0100 From: Andre Albsmeier To: David Malone Message-ID: <20040209175523.GA1359@curry.mchp.siemens.de> References: <20040209161059.GA732@curry.mchp.siemens.de> <20040209164511.GB66276@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040209164511.GB66276@walton.maths.tcd.ie> X-Echelon: fraud, F-15, InfoSec, White House, Embassy X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org cc: Andre Albsmeier 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 17:55:27 -0000 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?