On Thu, Mar 27, 2003 at 08:22:03PM -0800, Vishal Jain wrote:
> 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?

It's part of the security descriptor.  Well..., yes, that's it.
Microsoft states e. g.:

Primary Group   The Primary Group field contains the SID for the owner's
                primary group. This information is used only by the POSIX
                subsystem and is ignored by the rest of Windows 2000.

But that's not entirely true.  It's used for instance also in file access
using NFS or Mac clients.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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/

Reply via email to