X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-transfer-encoding
	:content-type:message-id:date:from:reply-to:to:subject
	:references:in-reply-to; q=dns; s=default; b=b1TXlBQd3VNDjH5y+yM
	mqNSF97GzGOeoyJbAg4S7uZSkpO//Y5+mb63U41r1NTKi0pUUcy2tI8V3NnxkHRk
	gyAqvB0bn3uFx121mS1jpGQ0t01LAGJ2uwdHE/qGPyoR6ZLsH/T6nHfp4MZjOebb
	yPt9syJ9IkkmXJKOWKbO3TLo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-transfer-encoding
	:content-type:message-id:date:from:reply-to:to:subject
	:references:in-reply-to; s=default; bh=9O1IjVHdjPYxOegVWnVLA2zyW
	b4=; b=dwnFPPsS52S6uoF6j2dBoba7J8QkQgrFAf3uHyLfURwD4ISX3hgIJAVKb
	A9REbov8up4JQxyZEhtj6Ulunlwz1+3Ren4VmsfRvxQIBwxfAx/QB9M2W+eqFq/M
	IP+ro9YOgrzhcrNngxHVkKbn8P7mywOtAVduM4n+UHYllNGUJY=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: vms173019pub.verizon.net
MIME-version: 1.0
Content-transfer-encoding: 8BIT
Content-type: text/plain; charset=utf-8; format=flowed
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=Lv5vsSpc c=1 sm=1 tr=0	a=Z9UJdt/jcW91Hd6r4aN9qw==:117 a=vP6ySPhpAh4A:10 a=IkcTkHD0fZMA:10	a=w_pzkKWiAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=XAFQembCKUMA:10	a=hb-af2pEbiLWsdrr3xUA:9 a=QEXdDO2ut3YA:10 a=Lz48L_9qCwoA:10
Message-id: <55711D24.5040707@cygwin.com>
Date: Thu, 04 Jun 2015 23:53:08 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
To: cygwin@cygwin.com
Subject: Re: File permissions different inside and outside cygwin root
References: <E087F37F-5AAF-4526-B6B8-091D8F9FDC20@duaneellis.com> <6CF2FC1279D0844C9357664DC5A08BA2109EFF1F@msgb09.nih.gov> <CAAXzdLWk_NV_HB8ctbmaWdr_9z=NwGwu4GLeYox878z4Emwx+A@mail.gmail.com> <1433228431.8324.22.camel@cygwin.com> <6CF2FC1279D0844C9357664DC5A08BA2109F128B@msgb09.nih.gov> <17C46031-D529-4E0E-8086-09DE1B487F8F@duaneellis.com>
In-reply-to: <17C46031-D529-4E0E-8086-09DE1B487F8F@duaneellis.com>

On 06/02/2015 10:53 AM, Duane Ellis wrote:
> [paraphrased, and edited]
>
> (Duane) describing the problem
>
> (Barry)  .. click click click right click .. click click to undo this crazyness
> (steve)  DO not do this .. you can break things in really bad ways
>
> I would agree, I did not have time to reply yet.
>
> My comment would be this:
> 	This is not an appropriate solution - is very HUMAN ERROR prone
> 	It does not scale well to others not familiar with the process.
>
> 	Cygwin should just work, or the feature that causes this should be disabled
>
> assuming that it is the ACLs,  my questions are
>
> 1)  How do I disable the ACL feature completely?
>
> 2) How can I determine if the ACL feature is enabled?
> 	I need to put this test in a few build scripts
> 	I need to prevent execution if the situation exists
>          if  `SOMETEST`
>          then
>                echo “FIX THIS BUILD FAIL”
>                exit 1
>           fi

As others have pointed out already, you can use the "noacl" option to mount
paths and drives to use Windows ACL semantics instead.  You can even mount
'cygdrive' with "noacl" so that all references to drives through "/cygdrive"
will follow the Windows semantics.  If you're looking for the finer details
and caveats about how POSIX ACLs are used and not, see the section on "The
Cygwin Mount Table" in the User's Guide:

<https://cygwin.com/cygwin-ug-net/using.html#mount-table>


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

