delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,TW_MK,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <30570563.post@talk.nabble.com> |
Date: | Sat, 1 Jan 2011 21:59:55 -0800 (PST) |
From: | aputerguy <nabble AT kosowsky DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Owner/Group showing up as "??????????" on some Windows files despite mkpasswd/mkgroup |
In-Reply-To: | <4D1CA7C9.4020807@cygwin.com> |
MIME-Version: | 1.0 |
References: | <19740 DOT 3764 DOT 509174 DOT 665204 AT consult DOT pretender> <4D1CA7C9 DOT 4020807 AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Larry Hall (Cygwin) wrote: > > 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, thanks for the helpful links. What I am trying to do is backup my Windows filesystem (using BackupPC with rsync) so I want to get the file ownership & groups as accurate as possible (I am aware that I am missing other ACL info but that's another story). HOWEVER on my system, trustedinstaller for some reason does seem to own a lot of files on my system. If trustedinstaller is a valid file owner then I would like it to show up as the file owner in cygwin so that rsync transfers it over properly. Presumably this would mean adding it to my /etc/passwd file though I'm not sure what would be the best entry to use. On the other hand if trustedinstaller SHOULD NOT be owning any files and its just an error on my windows system then I would like to correct the file ownership in windows so that the files have the correct owners. Any suggestions here on what might be the correct approach? -- View this message in context: http://old.nabble.com/Owner-Group-showing-up-as-%22----------%22-on-some-Windows-files---despite-mkpasswd-mkgroup-tp30555568p30570563.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |