X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.5 required=5.0	tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4F3D112E.5080905@cygwin.com>
Date: Thu, 16 Feb 2012 09:22:38 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: File permissions problems with cp in Windows 7
References: <E1936B3CBF336B4D93C1B2F74E37126804981A@DB3PRD0502MB101.eurprd05.prod.outlook.com> <4F3BF932.9080201@cygwin.com> <E1936B3CBF336B4D93C1B2F74E371268049CBB@DB3PRD0502MB101.eurprd05.prod.outlook.com>
In-reply-to: <E1936B3CBF336B4D93C1B2F74E371268049CBB@DB3PRD0502MB101.eurprd05.prod.outlook.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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 2/16/2012 5:50 AM, Tom Quarendon wrote:
> I am a member of the local administrators.
> It actually sounds like noacl is what we would want here. We are just
> using Cygwin shell as a basis for our build environment for ease of
> portability, but we're using Visual Studio etc, not building Cygwin
> executables. Not sure why I would actually want posix permissions for what
> we're doing.

For one thing, stats and the like can be slower since things like executable
permissions have to be determined by inspection.  But there are other mount
flags that can help with that.  So, there are trade-offs.

> Noacl certainly fixed the problem, however it would be good to
> understand  why it happens.
> In your attempt to reproduce, what does he getfacl show for the root
> /cygdrive/c directory? That seemed to be where the issue lay. Not sure
> whether what I see is to be expected.

Yeah, sorry.  I glossed over that.

$ getfacl /
# file: /
# owner: lhall
# group: ????????
user::---
group::---
group:root:rwx
group:SYSTEM:rwx
group:Users:r-x
mask:rwx
other:---
default:user::---
default:group::---
default:group:root:rwx
default:group:SYSTEM:rwx
default:group:Users:r-x
default:mask:rwx
default:other:---

The group ownership is fine.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

