This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Resolving '????????' users and groups


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?

    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]