Subject: Re: ffs & directory gids
To: Christos Zoulas <christos@zoulas.com>
From: Todd Vierling <tv@pobox.com>
List: tech-kern
Date: 11/06/1999 15:13:26
On Sat, 6 Nov 1999, Christos Zoulas wrote:

: I have never found the non grpid (sysv) behavior useful,

Suffice it to say, some of us do... I have several examples currently in use
on solamis.  :)

: on the
: other hand I have been annoyed many times by the fact that when
: mounting nfs from other systems, we effectively choose the sysv
: behavior, because our mkdir does not inherit the setgid flag from
: the parent directory.

There's several issues here, which I am willing to implement to do this
Right the first time.  Implementation is almost trivial.

- grpid/nogrpid mount options, the former of which is default on ffs derived
  partition, and the latter on nfs (to keep backwards combatability)
- mkdir inherit the setgid bit on a directory, regardless of mount option
  (users with the default ffs behavior wouldn't notice the difference)
- modifications to mtree's to make particular system directories DTRT out
  of the box if an admin decides to set nogrpid on /

: I'd say that if we are going to change things, we should change
: them in an incompatible way compared to the way things are right
: now, i.e. following all the major vendors.

: I know that this is heretic POV, but it will help our interoperability
: with other OS's, hurting our compatibility with the current behavior.

I only propose an option without changing the default, to keep the installed
base happy.  :)

-- 
-- Todd Vierling (tv@pobox.com)