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 <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids> for an explanation. "getfacl" (or NT's "cacls") should give you the actual owner/group. 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 <http://cygwin.com/problems.html> for guidelines on including relevant information in your problem reports. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/