delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/21/14:11:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BA9BD388C022
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu
Subject: Re: Files and folders created with invalid ACL
To: cygwin AT cygwin DOT com
References: <rco6vs$30d$1 AT ciao DOT gmane DOT io>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <2671dec4-b4e5-e687-7d82-4c465b1231b6@cs.umass.edu>
Date: Sun, 21 Jun 2020 14:10:21 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <rco6vs$30d$1@ciao.gmane.io>
X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP,
URI_HEX autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: moss AT cs DOT umass DOT edu
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 6/21/2020 1:56 PM, Thorsten Kampe wrote:
> Hello,
> 
> I'm experiencing the issue described here[1]: files and folders
> created with Cygwin utilities like touch and mkdir have an
> incorrect ACL ("The access control list (ACL) structure is
> invalid (os error 1336)").
> 
> icacls test.txt /verify
> test.txt: Ace entries not in canonical order.
> 
> Interestingly the issue does not occur with files created in
> the user's Cygwin home directory but - for instance - in the
> Documents folder of the user's Windows profile.
> 
> This is a fresh Cygwin installation on a test system. Has
> anyone found a solution?
> 
> [1] http://cygwin.1069669.n5.nabble.com/Issues-with-ACL-
> settings-after-updating-to-the-latest-cygwin-dll-td124123.html

This is normal, and has to do with how Cygwin arranges to model,
within the Windows ACL permissions system, some features of the
Posix permissions system. Don't "fix" the ACLs - that can make
the Posix functionality break.  While the entries are not in
canonical order, they work fine :-) ...

If you dig deeper into the Cygwin documentation on permissions
handling you can read all the gory details ...

Regards - Eliot Moss
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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