Meaning of setegid() call in cygwin

Vishal Jain vxj45@hotmail.com
Fri Mar 28 06:09:00 GMT 2003


Hi,
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?

Thanks,

Vishal

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list