From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [159.69.161.202]) by sourceware.org (Postfix) with ESMTPS id 64EED388A835 for ; Mon, 22 Jun 2020 18:09:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 64EED388A835 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=thorstenkampe.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=goc-cygwin@m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jnQsP-000H7j-G0 for cygwin@cygwin.com; Mon, 22 Jun 2020 20:09:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Thorsten Kampe Subject: Re: Files and folders created with invalid ACL Date: Mon, 22 Jun 2020 20:08:54 +0200 Message-ID: References: <1335658627.20200622202035@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/3.0.4 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 18:09:05 -0000 * Andrey Repin (Mon, 22 Jun 2020 20:20:35 +0300) > > Greetings, Thorsten Kampe! > > > 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. > > This is normal. All conformant drivers MUST be able to correctly process such > ACL's. "Non-canonical" does not mean "invalid". `lsd` reports an error ("os error 1336"). But that might simply be a result of the "non 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 > > Needs more specifics. > How did you set your fstab, particularly cygdrive prefix? Any extra mounts? > How did you modify nsswitch? As I wrote, it's a "fresh Cygwin installation on a test system" that means the phenomennon is observable directly after the installation. I did some testing: files created in the user's home directory (/home/Administrator), the home directory (/home) and other sub directories don't show the issue. If I create a file or directory directly under / or anywhere else on the drive, the issue occurs. If that would be the case on my main workstation, I would be fine with that. Unfortunately on my main workstation the issue occurs everywhere. Thorsten