This is the mail archive of the
mailing list for the Cygwin project.
Re: Meaning of setegid() call in cygwin
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 28 Mar 2003 09:00:41 +0100
- Subject: Re: Meaning of setegid() call in cygwin
- References: <F109cNZCpswn4Q9IB42000146ad@hotmail.com>
- Reply-to: cygwin at cygwin dot com
On Thu, Mar 27, 2003 at 08:22:03PM -0800, Vishal Jain wrote:
> 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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin at cygwin dot com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html