delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/29/23:47:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=6.7 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE,TW_MK,TW_RW,TW_WX,TW_XR
X-Spam-Check-By: sourceware.org
Message-id: <19740.3764.509174.665204@consult.pretender>
Date: Wed, 29 Dec 2010 23:46:44 -0500
MIME-version: 1.0
From: "Jeffrey J. Kosowsky" <cygwin AT kosowsky DOT org>
To: cygwin AT cygwin DOT com
Subject: Owner/Group showing up as "??????????" on some Windows files despite mkpasswd/mkgroup
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019