[Samba] Windows 7 and file ownership
Steve Thompson
smt at vgersoft.com
Sat Jan 1 12:54:05 MST 2011
Please forgive the cross-post; I'm not sure where this issue lies.
Samba 3.5.1, CentOS 5.5 x86_64 PDC with Win2K, WinXP, Win2003 and Win7
32-bit domain members, tdbsam backend. Cygwin 1.7.7. All basic
functionality seems to be fine, except...
On Win2K, WinXP and Win2003, a "DIR /Q" on a mapped share always displays
the owner as "BUILTIN\Administrators", but a "stat" or a "ls -ln" in a
cygwin bash shell always shows the proper uid and gid. The ownership
displayed by DIR appears to have no operational effects. So, this is all
shiny.
On Win7, a "DIR /Q" on a mapped share similarly shows an owner of
"BUILTIN\Administrators", but a "stat" or a "ls -ln" in a cygwin bash
shell always shows a uid of 544 and a gid of 545, _no matter who_ the
logged-in user or the actual file ownership.
Cygwin /etc/passwd and /etc/group files are correct. Machine SID is good.
I am sure this is telling me something fundamental, but I am at a loss as
to what. I've checked everything I can think of, and all looks good.
Please someone give me a clue.
-s
More information about the samba
mailing list