This is the mail archive of the
mailing list for the Cygwin project.
Incorrect names for file owners on mapped samba drives
- From: "John Daintree" <johnd at dyalog dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 30 Oct 2009 15:46:49 -0000
- Subject: Incorrect names for file owners on mapped samba drives
I've got a number of drives mounted from? SAMBA machine (which is running
linux).? My local machine is running Cygwin 1.7 on Windows 7 x64.
Here's (some of) my mount output:
//devt/users/johnd on /j type smbfs (binary,notexec,user)
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
J: on /cygdrive/j type smbfs (binary,posix=0,user,noumount,auto)
"ls -l"? on /cygdrive/j and /j returns "????????" as the name of both the
owner and the group of all the files on those drives. Windows explorer
correctly identifies DEVT\johnd as the owner of the files.
johnd's line in ?/etc/passwd is:
and "id" returns:
on the SAMBA machine my UID is 208, so I figured I'd just need to change the
But, having done that and re-logged in I get the message:
Your group is currently "mkpasswd".? This indicates that your gid is not in
/etc/group and your uid is not in /etc/passwd.
and the "id" command returns:
I've no idea where those 400s came from.
an "ls -n" on a single file returns:
rwxrw-r-- 1 4294967295 4294967295 1286 Mar 11? 2009 zones.h
so maybe the UIDs aren't getting across at all from the SAMBA server.
What do I need to do to get the usernames "in sync" with the SAMBA box?
Thanks again everyone,
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple