group IDs

Igor Pechtchanski
Mon Jun 27 14:22:00 GMT 2005

On Mon, 27 Jun 2005, Peter Green wrote:

> I am new to the list - apologies if this has
> all been sorted out before, but I couldn't find the
> solution.
> Files I create from within Cygwin (e.g. by touch or the output of gcc)
> have numerical group ID 10545, while those created in Windows
> applications (e.g. Thunderbird, Notetab) get group ID 4294967295.
> 'mkgroup' gives 'Users' the ID of 545.
> This is confusing me, and giving me problems accessing my own file s-
> how do I get all these IDs to agree?

10545 is usually "Domain Users" (the domain user and group ids are offset
by 10000 by default).  545 is local "Users".  4294967295 is really "-1" --
see <> for an
explanation.  "getfacl" (or NT's "cacls") should give you the actual

To get the domain groups into /etc/group, use "mkgroup -d >> /etc/group"
(warning -- may take a *long* time in large domains).  You can give the
"-g" flag to mkgroup to extract specific domain groups.  Similarly, for
domain users, use "mkpasswd -d >> /etc/passwd" (same warning applies).
See "man mkpasswd" and "man mkgroup" for more information.

> I am running XP professional, version 2002, sp2
> I downloaded Cygwin on 23 June 2005.

See <> for guidelines on including relevant
information in your problem reports.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list