This is the mail archive of the cygwin 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]

Owner/Group showing up as "??????????" on some Windows files despite mkpasswd/mkgroup


When I do an 'ls -al' (or a getfacl) on some files, I get:
owner/group = ???????/???????, implying that the numeric uid/gid are
not found in the passwd/group file.

This occurs even though I ran: 
	 mkpasswd -cl > /etc/passwd
	 mkgroup --local > /etc/group

The /owner and /primary group are displayed in subinacl (often as
'trustedinstaller'). Note that 'trustedinstaller' doesn't appear in my
passwd or group files.

So, question is why doesn't 'ls -al' and 'getfacl' give a more
'human readable' answer than '???????' even if trustedinstaller is a
bogus name. Or should I just think of ?????? as cygwin for
trustedinstaller?

---------------------------------------------------
For example:
$ ls -al /c/Window/notepad.exe
-rwxrwx---+ 4 ???????? ???????? 193536 2009-07-13 21:39 /c/Windows/notepad.exe

$ ls -aln /c/Window/notepad.exe
-rwxrwx---+ 4 4294967295 4294967295 193536 2009-07-13 21:39 /c/Windows/notepad.exe

$]subinacl /noverbose /nostatistic /fileC:\\Windows\\notepad.exe /display

=============================
+File C:\Windows\notepad.exe
=============================
/control=0x1c00
/owner             =trustedinstaller
/primary group     =trustedinstaller
/audit ace count   =1
/aace =everyone  Type=0x2 Flags=0xc0 AccessMask=0xd0116
/perm. ace count   =4
/pace =trustedinstaller  Type=0x0 Flags=0x0 AccessMask=0x1f01ff
/pace =builtin\administrators  Type=0x0 Flags=0x0 AccessMask=0x1200a9
/pace =system  Type=0x0 Flags=0x0 AccessMask=0x1200a9
/pace =builtin\users  Type=0x0 Flags=0x0 AccessMask=0x1200a9



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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