Subject: Re: Permissions on directories.
To: Erik E. Fair <abs@anim.dreamworks.com>
From: Todd Vierling <tv@pobox.com>
List: current-users
Date: 10/20/1998 13:35:44
On Tue, 20 Oct 1998, Erik E. Fair wrote:

: >...Yet BSD gives the "setgid" behavior _all_ the time.  I'd certainly perfer
: >this to be an option, as SVR4's method of using the real user's gid sounds
: >more sane to me.
: 
: Which GID? BSD has lists of them per user...

Primary.  The way most other UNIXen of the world do it.

On Tue, 20 Oct 1998, David Brownlee wrote:

: 	As someone who has witnessed the pain of the default SV behaviour
: 	(files appearing with the 'wrong' group for their directory and
: 	then other users not being able to edit them), can I just confirm
: 	that if this is added as an option, it defaults to off :)

I would certianly not change a default behavior, but I'd still like to see
the option of using the user's primary gid when creating a file if BOTH of
the following conditions are false:

- the directory is setgid or sticky
- the user has the directory's group ID in the user's group list

If either of these two conditions are true, using the directory's group ID
is fine with me.  I'm more concerned about files having a group ID other
than a user's allowed group IDs; on SVR4, that is just plain not possible.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)