delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/02/22:14:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.6 required=5.0 tests=AWL,BAYES_00,BOTNET,DATE_IN_FUTURE_03_06
X-Spam-Check-By: sourceware.org
Message-id: <4B8E1A6C.2090909@cygwin.com>
Date: Wed, 03 Mar 2010 03:14:36 -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: Resolving '????????' users and groups
References: <4B8CA8D3 DOT 6010508 AT wesbarris DOT com> <4B8DC6CD DOT 5050508 AT gmail DOT com> <4B8DC7C5 DOT 9040200 AT wesbarris DOT com>
In-reply-to: <4B8DC7C5.9040200@wesbarris.com>
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 3/2/2010 9:21 PM, Wes Barris wrote:
> Dave Korn wrote:

<snip>

>> Do you *actually* own the files? What kind of drive is this; network or
>> local? NTFS or FAT?
>
> This is a second drive in my XP system. The drive contains all of my
> data. One of the folders/directories on this drive is what I use
> as my home directory. It has an NTFS filesystem. I map my home
> directory on this drive to a drive letter so it shows up in
> Windows Explorer as a mapped network drive even though it is a disk
> physically on the same system. This is a relatively new disk
> (and computer). I copied my all of my data from my previous computer
> onto this disk in this new computer.
>
> I've always thought that I actually owned the files. The Windows
> security tab says that I own them. It wasn't until I installed
> Cygwin that I had any reason to believe otherwise.
>
> I see that I can do a "chown -R wes" on a directory and it makes
> me the owner as far as Cygwin is concerned. Windows Explorer
> says that I am the owner before and after doing this. I can do
> this to fix all of the files. It's just a bit curious to me that
> Cygwin says I am not the owner but Windows does.

How was the data copied?  By whom?

The simple answer to the question of why Cygwin doesn't know you're
the owner is likely to be that the SID of the owner of these files is
not listed in '/etc/passwd'.  Get it in there using 'mkpasswd' and
Cygwin will show you that user as the owner.  Since you changed the
owner already, this is likely moot at this point though.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

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