On Apr 11 19:36, Ken Brown wrote: > On 4/10/2014 10:53 AM, Corinna Vinschen wrote: > >Hi folks, > > > > > >The latest snapshot, 2014-04-10, is a snapshot from CVS HEAD again. > >It contains the latest crazy ideas in terms of the user and group > >account creation without requiring the /etc/passwd and /etc/group > >files. > > I installed the complete snapshot and moved /etc/passwd and > /etc/group out of the way. Now all users have gid == uid: > > $ mkpasswd.exe > +SYSTEM:*:18:18:U-NT AUTHORITY\SYSTEM,S-1-5-18:/home/SYSTEM:/bin/bash > [...] > kbrown:*:197610:197610:... > [...] > sshd:*:197613:197613:... > > $ mkgroup.exe > +SYSTEM:S-1-5-18:18: > [...] > HomeUsers:S-1-5-21-2633657340-2046398995-3442950202-1003:197611: > None:S-1-5-21-2633657340-2046398995-3442950202-513:197121: > > Shouldn't ordinary users (like kbrown) have gid == 197121? All > files I created as kbrown prior to the test show group "None", and > all files I created after the test show group "kbrown". > > Is this a bug, or is there something weird about my system that's > making this happen? cygcheck output is attached.
Definitely a bug. I "optimized" the code a couple of weeks ago and while I was at it I "optimized" away the code evaluating local user's primary gid. Duh. I'm just building a new snapshot. Thanks for the report, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpUwrym3Yc9N.pgp
Description: PGP signature