This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

group ownership of files

I have been using Cygwin for about a month now without any problem. My computer crashed and when I rebooted, even though it started at my home directory, now the home was defined as '/cydgrive/c/cygwin/home/kiwhan' and not just '/home/kiwhan' I scratched my head and poked around and found out that my passwd file was corrupted somehow and

mkpasswd -l -c > /etc/passwd
mkgroup -l -c > /dtc/group

made everything ok.

Now, I lost group ownership to the files I previously made. What I'd like to know is:

Is there any way to have all the files grouped in one group? After many tries, I now have ????? for group name, and that's all I can get. Currently, my files look like:

-rw-r--r-- 1 kiwhan ???????? 16092 May 22 15:46 cygcheck.txt
-rw-r--r-- 1 kiwhan Administ 27272 Jun 4 16:35 cygcheck2.txt
-rw-r--r-- 1 kiwhan ???????? 4737 Jun 3 16:35 declare.txt
-rw-rw-rw- 1 kiwhan ???????? 4443 Jun 4 12:25 declare2.txt
drwxr-xr-x+ 3 kiwhan ???????? 0 May 30 14:37 geant451
-rwxrwxrwx 1 kiwhan ???????? 988 May 27 15:50 kded.exe.stackdump
-rwxrwxrwx 1 kiwhan ???????? 1085 May 27 15:50 kdeinit.exe.stackdump
-rwxrwxrwx 1 kiwhan ???????? 52 May 29 18:11 kdesktop.exe.stackdump
-rwxr-xr-x 1 kiwhan ???????? 685 May 27 14:24 xinitrc

The file with correct group ownership -- cygcheck2.txt -- is made after the group ownership change, but the rest of the files that were made before the crash indicates that they are grouped to an undefined group.

Here is a copy of group:

Backup Operators:S-1-5-32-551:551:
Power Users:S-1-5-32-547:547:
Debugger Users:S-1-5-21-1606980848-308236825-725345543-1000:1000:
VS Developers:S-1-5-21-1606980848-308236825-725345543-1001:1001:

Here is a copy of passwd:

ASPNET:unused_by_nt/2000/xp:1002:513:ASP.NET Machine Account,U-ABPC\ASPNET,S-1-5-21-1606980848-308236825-725345543-1002:/home/ASPNET:/bin/bash

Thanks for your help.

We are what we repeatedly do.
Excellence, then, is not an act, but a habit.         Aristotle

Tired of spam? Get advanced junk mail protection with MSN 8.

Attachment: cygcheck2.txt
Description: Text document

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]