delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/19/03:01:50

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Duplicate ACLs? - Can't copy file even with Admin permissions
Message-ID: <YefFIwM4POThNgRA@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <25043 DOT 7019 DOT 643488 DOT 389876 AT consult DOT pretender>
<YdWCPsZOModGdRXM AT calimero DOT vinschen DOT de>
<8735m12k3u DOT fsf AT Rainer DOT invalid>
<25047 DOT 23325 DOT 33020 DOT 646017 AT consult DOT pretender>
<25048 DOT 43238 DOT 484068 DOT 737126 AT consult DOT pretender>
<YdwFc2JA5FfH1Ktr AT calimero DOT vinschen DOT de>
<Ydw4stFxX+he1A6b AT calimero DOT vinschen DOT de>
<25063 DOT 30447 DOT 365452 DOT 499124 AT consult DOT pretender>
MIME-Version: 1.0
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Jan 18 21:26, cygwin AT kosowsky DOT 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

- Raw text -


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