delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B8DC7C5.9040200@wesbarris.com> |
Date: | Wed, 3 Mar 2010 12:21:57 +1000 |
From: | Wes Barris <wesb AT wesbarris DOT com> |
User-Agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
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> |
In-Reply-To: | <4B8DC6CD.5050508@gmail.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 |
Dave Korn wrote: > On 02/03/2010 05:57, Wes Barris wrote: >> I'm trying to find a solution for my files being listed with '????????' >> as the owner and group: >> >> -rw-r--r-- 1 ???????? ???????? 137894 2010-02-25 11:34 1536.gff >> >> The following page partially addresses this: >> >> http://www.cygwin.com/cygwin-ug-net/ntsec.html >> >> It says that: >> >> -------------------------- >> If another user (or a Windows group, treated as a user) is not present >> in /etc/passwd, the uid of that user will have a special value of -1 >> (which would be shown by ls as 65535). The user name shown in this > > As we discussed earlier, -1 is now a 32-bit value, so shows up as > 4-billion-something rather than 65535 these days, but apart from that this is > what is happening. > > >> case will be '????????'. >> -------------------------- >> >> I would like to modify the /etc/passwd file so that it shows me >> as the owner of these files instead of '????????'. > > No, you don't want to do that. You only want it to show you as the owner of > those files if you actually *are* the owner of those files, and the way for > that to happen is for your user account in the windows domain to actually be > the owner of those files, and to be linked to your cygwin uid/gid via the > /etc/passwd file. > > 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. > cheers, > DaveK > > > -- > 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 > -- Wes Barris -------------------------------------------------------------------- Today's fortune: Memory should be the starting point of the present. -- 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 |