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 To: samba AT lists DOT samba DOT org, cygwin AT cygwin DOT com Subject: Windows 7 and file ownership Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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