Subject: Re: bin/11047: newgrp is missing
To: None <>
From: Andrew Brown <>
List: tech-userlevel
Date: 04/26/2002 18:39:45
>>yes, we don't have one, but what problem is that?  does it do
>>something for anyone that they can't already do?
>It adds a step that a user must do in order to do what he can do now.

i can't really see that it adds anything.

in sysv, files and directories are created according the primary group
of the creator.  in bsd, they are created according to the group of
the directory in which they are created.  sysv can usually emulate bsd
group behavior by means to setting the sgid bit on a directory.

in both systems, users can be in multiple groups and once and can
chgrp files and directories (that they own) between them at their

i can almost see the utility of a newgrp command for sysv, but not for

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."