From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by sourceware.org (Postfix) with ESMTPS id D875E3857C48 for ; Wed, 19 Jan 2022 08:00:37 +0000 (GMT) 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 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MWjUc-1mqHr21syW-00X65L for ; Wed, 19 Jan 2022 09:00:36 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 6AD47A80D5F; Wed, 19 Jan 2022 09:00:35 +0100 (CET) Date: Wed, 19 Jan 2022 09:00:35 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Duplicate ACLs? - Can't copy file even with Admin permissions Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <25043.7019.643488.389876@consult.pretender> <8735m12k3u.fsf@Rainer.invalid> <25047.23325.33020.646017@consult.pretender> <25048.43238.484068.737126@consult.pretender> <25063.30447.365452.499124@consult.pretender> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2022 08:00:41 -0000 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