On Feb 25 17:21, Corinna Vinschen wrote: > On Feb 25 08:55, Warren Young wrote: > > On Feb 25, 2015, at 8:23 AM, Corinna Vinschen <corinna-cyg...@cygwin.com> > > wrote: > > > > > >> $ chgrp `id -g` id* > > >> $ ls -l id* > > >> -rw-rw---- 1 Warren Warren 1.7K Feb 25 08:12 id_rsa > > >> -rw-rw---- 1 Warren Warren 398 Feb 25 08:12 id_rsa.pub > > > > > > Hang on, how come your group is your user account? That's certainly > > > not correct and it's certainly not the default, neither with SAM > > > accounts, nor with domain accounts. Is that something set in your > > > passwd/group files? If so, change it. > > > > I’m using the new SAM support, only. > > > > This is how Microsoft configured this Windows 10 VM. I haven’t made > > any local user admin type changes, except to create a second account > > for testing. > > > > I get this from id(1): > > > > $ id > > uid=1000(Warren) gid=11000(Warren) groups=11000(Warren) …etc.
Btw., the uid and gid values are wrong. You *are* using passwd and group files, otherwise you would have much bigger uid/gid values. RID 1000 should result in uid 197608. Please either remove the files, or change your /etc/nsswitch.conf file to passwd: db group: db > Darn. Did you set this up with a "Microsoft Account"? If so, then > something's not working as expected. There's code in Cygwin which > converts your primary group in your user token to the group "Users" in > this scenario to avoid this very problem. > > But somehow this code doesn't kick in in your case and it would be > obviously interesdting to know why. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpzr7WqGItfh.pgp
Description: PGP signature