X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 618603857803
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1642579308;
	bh=8XEdIdwr/4n5S8JzAjHCpH4eI8sKVfrWfkYUOX6eKcs=;
	h=Date:From:To:Subject:References:In-Reply-To:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Reply-To:From;
	b=ok4VRf1shIMCd3rNbu5lr0rvzPfD7jYIL/ZITMvTDrmDB6rCLX1pcQG9oY5DfadG3
	 DiGlPu3dK45Vp36dcl9+GlrAamQxFcF2RyMPwToXvJFMS8ci0vVA+jZhucN3IGzV0V
	 neC428yO3A4BCKluZWCiGWdwI3x8gemhRtJn4P0E=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D875E3857C48
Authentication-Results: sourceware.org;
 dmarc=fail (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com
Date: Wed, 19 Jan 2022 09:00:35 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Duplicate ACLs? - Can't copy file even with Admin permissions
Message-ID: <YefFIwM4POThNgRA@calimero.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <25043.7019.643488.389876@consult.pretender>
 <YdWCPsZOModGdRXM@calimero.vinschen.de>
 <8735m12k3u.fsf@Rainer.invalid>
 <25047.23325.33020.646017@consult.pretender>
 <25048.43238.484068.737126@consult.pretender>
 <YdwFc2JA5FfH1Ktr@calimero.vinschen.de>
 <Ydw4stFxX+he1A6b@calimero.vinschen.de>
 <25063.30447.365452.499124@consult.pretender>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <25063.30447.365452.499124@consult.pretender>
X-Provags-ID: V03:K1:/0p2wBIuyC2Stmg9ieWJiNiOyI/r88Y40kDT8MlybwYaGroJmMi
 VRA2gw9/klpkjP+QUlS9pErVo2G+rxJimGLy0fHH24P8bxcAtqK3U1+0Azj9JyytKXEJEMk
 LA9v0wVALzTtrmh2TI5WvyQ0qJ1In2dSOleRNQa93Ct3pppOs1BGhW9zBljQoaRj98jI+Us
 B4PQEpRFULW6fCzfWb3Ug==
X-UI-Out-Filterresults: notjunk:1;V03:K0:9z0OyeKXVr0=:ahe3+7GcelwGaXxCzCG+JQ
 jywn7XccGUaM1T2y6qEdp6bUQ54s4TujldoKa2h4VQwvxERdEJvTt8BuzwU0fI2CRtWru6MVW
 UvIbrhP9dtgY9tUwi2TOdvFQ/xRl21c2H8Aa+eT3fU2fDgQ0lD/kg7p18NJnJuHRzCmttgxR0
 KeDPcWXYemslPR5FOnZcueReAsMo5EF3uMnesghBSBx4xNILbmPduUHoLUqHLRmuwnvaD3vIk
 mJM472S8MDTZcedoLdaYFrq946lDOScTMWSDgRpOQfUyF8UjMzdc/yKqlg6l6d3h9e/UyTFpK
 qo6gxx29NOLP92nwEyfAdCEjGnu6GdFEvyxNQhflqZbUcXhv/OOhbjdX+PLT4X+O/EUKESyLR
 J57+Y6z3hekMoear98OSqvyY17yxwfKPZtLjGxmkzr5E5R0wk6nYQXtIOFy8+hti2NgolT1ZM
 OwAPxdXrYqoDuzB9mZdfLzUAK96bq3+p4qz/48wVaBNH/7fho78bqyzljC/gnmQB0mLHHNHss
 xz1dPOPRQmch6rxqo46vvCDGo8SfjyrEMo5PoRl736ysTCpuqRzTG7v/L5YreeHc4+YzDSPwC
 cM33swCi6GvbDDqPGPGd0H8RBzb5HDwNQEI1wY0InoGove+Lg/3H54X6NJQm+uqkYOv/EEagB
 mPTsDfA+RTjcc7quRW/S1uodDlWjsSIdvcZaa0mX1633e1lbL3pc708WEIxTxzaxihnwkT2Ct
 AlGYsHeZKVBQTQs4
X-Spam-Status: No, score=-97.0 required=5.0 tests=BAYES_00,
 GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_FAIL, SPF_HELO_NONE,
 TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Jan 18 21:26, cygwin@kosowsky.org wrote:
> On Jan 04:14 Corinna Vinschen wrote:
> > I uploaded a developer snapshot to https://cygwin.com/snapshots
> > Please give it a try.
> 
> Indeed, the new cygwin.dll does allow me to copy the files and it does
> preserve the 'getfacl' (POSIX) acl's (as above).
> However, it does *not* preserve the full ACL's as reported by 'icacls'.
> [...]
> So, the full Windows ACLs as indicated by 'icacls' differ.
> Is this the expected behavior??? If so, why???

Cygwin converts the DACL into a a POSIX ACL on the API level and Cygwin
tools consequentially read and write POSIX ACLs, which differ from
Windows ACLs.


Corinna

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