delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/16/09:23:29

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: File permissions problems with cp in Windows 7
References: <E1936B3CBF336B4D93C1B2F74E37126804981A AT DB3PRD0502MB101 DOT eurprd05 DOT prod DOT outlook DOT com> <4F3BF932 DOT 9080201 AT cygwin DOT com> <E1936B3CBF336B4D93C1B2F74E371268049CBB AT DB3PRD0502MB101 DOT eurprd05 DOT prod DOT outlook DOT com>
In-reply-to: <E1936B3CBF336B4D93C1B2F74E371268049CBB@DB3PRD0502MB101.eurprd05.prod.outlook.com>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019