From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6922 invoked by alias); 5 Jun 2015 03:53:26 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6908 invoked by uid 89); 5 Jun 2015 03:53:26 -0000 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 Received: from vms173019pub.verizon.net (HELO vms173019pub.verizon.net) (206.46.173.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 05 Jun 2015 03:53:16 +0000 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=utf-8; format=flowed Received: from [192.168.1.230] ([108.7.54.198]) by vms173019.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NPG00ANEDGKJ730@vms173019.mailsrvcs.net> for cygwin@cygwin.com; Thu, 04 Jun 2015 22:53:11 -0500 (CDT) 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: Fri, 05 Jun 2015 03:53:00 -0000 From: "Larry Hall (Cygwin)" 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: <6CF2FC1279D0844C9357664DC5A08BA2109EFF1F@msgb09.nih.gov> <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> X-SW-Source: 2015-06/txt/msg00108.txt.bz2 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: -- 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