setgroups() behavior
John F. Haugh II
jfh at rpp386.cactus.org
Sat Feb 3 04:05:09 AEST 1990
From: jfh at rpp386.cactus.org (John F. Haugh II)
I'm taking an informal survey.
1003.1 states that whether or not the current effective
GID is returned as part of the groupset returned by
getgroups() is implementation defined.
I am curious what the group's feeling is in general about
permitting the current effective GID to be added via
setgroups() to the concurrent group set using setgroups().
My reasoning is that the concurrent group set =should=
reflect all of the groups being used in determining the
process's access rights. So, either the system should
add the EGID to the list, or it should permit the process
to explicitly add the EGID without requiring UID 0
privilege.
Please reply by mail, I'll post a summary if there is
enough interest ...
--
John F. Haugh II UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 832-8832 Domain: jfh at rpp386.cactus.org
Volume-Number: Volume 18, Number 39
More information about the Comp.std.unix
mailing list