delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/30/10:40:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,TW_MK
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4D1CA7C9.4020807@cygwin.com>
Date: Thu, 30 Dec 2010 10:39:53 -0500
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Owner/Group showing up as "??????????" on some Windows files despite mkpasswd/mkgroup
References: <19740 DOT 3764 DOT 509174 DOT 665204 AT consult DOT pretender>
In-Reply-To: <19740.3764.509174.665204@consult.pretender>
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

On 12/29/2010 11:46 PM, Jeffrey J. Kosowsky wrote:
> 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?
>

The following section in the User's Guide explains why you see what you see:

<http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids>

trustedinstaller is new with Vista and is not really a user, which is why
it doesn't show up in the passwd file.  See this link for more details:

<http://technet.microsoft.com/en-us/magazine/2007.06.acl.aspx>

Your user != trustedinstaller.  trustedinstaller is an indication that
Windows wants to control the security of this file.  It shouldn't be the
owner of any files that are truly yours though.

-- 
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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