This is the mail archive of the
mailing list for the Cygwin project.
Meaning of setegid() call in cygwin
- From: "Vishal Jain" <vxj45 at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Mar 2003 20:22:03 -0800
- Subject: Meaning of setegid() call in cygwin
setegid() changes the primary group information in the access token.
How does it impact access control on windows?
I guess my question really boils down to-
How is primary group used by windows in access control?
user sid and sids of groups of which user is member is used to determine if
user has access to a securable object.
I know that a new object would get primary group from the access token if it
is not specified in security descriptor.
But where is primary group of an object used?
How is it different from owner of an object?
What's its purpose?
What does changing primary group of an access token mean?
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html