Subject: Re: bin/11047: newgrp is missing
To: Andrew Brown <atatat@atatdot.net>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 04/28/2002 13:45:29
[ On Saturday, April 27, 2002 at 15:21:32 (-0400), Andrew Brown wrote: ]
> Subject: Re: bin/11047: newgrp is missing
>
> >It is needed for any _application_ that might use (only) getgid() or
> >getegid() to check group privileges.  Only the kernel honours the
> >additional group privileges allowed by setgroups(2) by default.
> 
> that sounds like a problem with those applications, not a need for
> newgrp.

Why would you think that?  Such application perfectly correct and in
their right to make policy based on the default group alone.

> >(Of course as has also been mentioned it's also needed to support SysV
> >file creation semantics)
> 
> it wouldn't help there.  istm it's also been mentioned that sysv needs
> it to get semantics we don't have.

Which is _exactly_ what I said above.

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>