Subject: Re: bin/11047: newgrp is missing
To: None <tech-userlevel@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 04/27/2002 12:04:57
On Fri, Apr 26, 2002 at 05:37:12PM -0600, Rick Kelly wrote:

> Assuming a file that is 750 or 640. If you are in the correct group on
> BSD, but not the owner, you can execute or read the file. If you are
> on SYSV, you must newgrp to reset your effective GID in order to access
> the file.

Which SYSV are you talking about?
All the SVR4 systems that have setgoups and let you access files that
are in any of your groups.
You can have group execute suid programs quite happily...

The fun one is non-root suid scripts without owner read access
- everyone except the owner can execute them :-)


	David

-- 
David Laight: david@l8s.co.uk