> -----Original Message----- > From: cygwin-owner at cygwin dot com > [mailto: cygwin-owner at cygwin dot com] On Behalf Of Igor Pechtchanski > Sent: Wednesday, February 18, 2004 8:46 AM > To: Julian C H Stevens > Cc: cygwin at cygwin dot com > Subject: Re: Strange group name > > > On Wed, 18 Feb 2004, Julian C H Stevens wrote: > > > I have installed cygwin 1.5.6(0.108/3/2) and I notice that > the files in > > my home directory have a group ownership of "mkgroup-l-d". > > > > I'm new to cygwin, and have installed it as a domain user on a > > workstation running Windows 2000 Professional Ver 5.0 Build > 2195 Service > > Pack 4. > > > > Please could someone suggest how this strange group name > has got into my > > /etc/group file? > > > Thanks, > > Julian. > > Julian, > > <http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.20> explains > this somewhat, but should be updated to say that "mkgroup-l-d" means that > the files are owned by a domain group that isn't in your /etc/group, and > that you should run "mkgroup -l -d >> /etc/group" when you're connected to > a domain controller to fix this. Otherwise, that group name is harmless, > IIRC. Perhaps Pierre or Corinna could chime in here... > Igor > P.S. Could you please set your mailer to wrap long lines? > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha at cs dot nyu dot edu > ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > "I have since come to realize that being between your mentor and his route > to the bathroom is a major career booster." -- Patrick Naughton > > --
If you are a member of a domain with a huge number of groups, you can take a short cut to figure out what mkgroup-l-d is really looking for. I did this: [EMAIL PROTECTED] ~ $ ls -n -l total 40 -rw------- 1 43363 10513 8591 Feb 17 12:47 .bash_history -rwxr-xr-x 1 43363 10513 533 Dec 10 17:48 .bash_profile* -rwxr-xr-x 1 43363 10513 625 Dec 10 17:48 .bashrc* drwxr-xr-x+ 4 43363 10513 4096 Jan 8 18:02 .cpan/ -rwxr-xr-x 1 43363 10513 267 Dec 10 17:48 .inputrc* drwx------+ 2 43363 10513 0 Dec 23 11:34 .links/ drwxr-xr-x+ 2 43363 10513 0 Dec 15 13:07 .ncftp/ drwx------+ 2 43363 10513 4096 Jan 8 14:20 .ssh/ -rw------- 1 43363 10513 6020 Feb 9 15:04 .viminfo -rwxr-xr-x 1 43363 10513 205 Dec 15 13:17 .wgetrc* [EMAIL PROTECTED] ~ $ mkgroup -d | grep 10513 Domain Users:S-1-5-21-1718497100-374411357-7473742-513:10513: [EMAIL PROTECTED] ~ $ The '-n' lists the user names and groups as their GID/UID number. I then used mkgroup to list all the domain groups and grep'd for the GID listed. Problem solved. It was looking for Domain Users. I can just put that entry in my /etc/group file and all is good now. See: [EMAIL PROTECTED] ~ $ ls -l total 40 -rw------- 1 depriest users_d 8591 Feb 17 12:47 .bash_history -rwxr-xr-x 1 depriest users_d 533 Dec 10 17:48 .bash_profile* -rwxr-xr-x 1 depriest users_d 625 Dec 10 17:48 .bashrc* drwxr-xr-x+ 4 depriest users_d 4096 Jan 8 18:02 .cpan/ -rwxr-xr-x 1 depriest users_d 267 Dec 10 17:48 .inputrc* drwx------+ 2 depriest users_d 0 Dec 23 11:34 .links/ drwxr-xr-x+ 2 depriest users_d 0 Dec 15 13:07 .ncftp/ drwx------+ 2 depriest users_d 4096 Jan 8 14:20 .ssh/ -rw------- 1 depriest users_d 6020 Feb 9 15:04 .viminfo -rwxr-xr-x 1 depriest users_d 205 Dec 15 13:17 .wgetrc* [EMAIL PROTECTED] ~ $ I changed the display name of the group from 'Domain Users' to 'users_d' in my /etc/group file so it would fit in the column better. -Jason -- 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/