X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Sat, 1 Jan 2011 17:27:28 -0500 (EST)
From: Steve Thompson <smt@vgersoft.com>
To: samba@lists.samba.org, cygwin@cygwin.com
Subject: Re: Windows 7 and file ownership
In-Reply-To: <alpine.LRH.0.9999.1101011443210.6395@helios.vgersoft.com>
Message-ID: <alpine.LRH.0.9999.1101011726220.12740@helios.vgersoft.com>
References: <alpine.LRH.0.9999.1101011443210.6395@helios.vgersoft.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sat, 1 Jan 2011, Steve Thompson wrote:

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

Ah, as always, I worked for two days on this and then found the solution
five minutes after posting. Using noacl in /etc/fstab was the answer.

-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

