delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/01/14:54:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,TW_TD,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Sat, 1 Jan 2011 14:54:05 -0500 (EST)
From: Steve Thompson <smt AT vgersoft DOT com>
To: samba AT lists DOT samba DOT org, cygwin AT cygwin DOT com
Subject: Windows 7 and file ownership
Message-ID: <alpine.LRH.0.9999.1101011443210.6395@helios.vgersoft.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

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

--
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