delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/25/20:12:01

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.4.1 sourceware.org ACED5385BF99
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=kosowsky.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kosowsky.org
X-CMAE-Analysis: v=2.4 cv=e/XD9Yl/ c=1 sm=1 tr=0 ts=61f09fba
a=BYuR5sdBHlGgEYWvfiqr5Q==:117 a=BYuR5sdBHlGgEYWvfiqr5Q==:17
a=kj9zAlcOel0A:10 a=DghFqjY3_ZEA:10 a=Y4wjOHm_AAAA:8 a=9caYT6fcmY1u-b4CMcoA:9
a=CjuIK1q_8ugA:10 a=vUyUeBe4x1l68iL-zyVZ:22
X-SECURESERVER-ACCT: inbox AT kosowsky DOT org
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
NICE_REPLY_A, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Level:
MIME-Version: 1.0
Message-ID: <25072.40889.109881.88802@consult.pretender>
Date: Tue, 25 Jan 2022 20:11:21 -0500
To: cygwin AT cygwin DOT com
Subject: Re: Duplicate ACLs? - Can't copy file even with Admin permissions
In-Reply-To: <YfBNTtpyu91+4Qz/@calimero.vinschen.de>
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>
<YefFIwM4POThNgRA AT calimero DOT vinschen DOT de>
<25066 DOT 48079 DOT 253017 DOT 253466 AT consult DOT pretender>
<YfBNTtpyu91+4Qz/@calimero.vinschen.de>
X-Mailer: VM 8.2.0b under 25.2.2 (x86_64-pc-linux-gnu)
From: cygwin AT kosowsky DOT org
X-Virus-Scanned: ClamAV using ClamSMTP
X-CMAE-Envelope: MS4xfK36vHg6mMs0BZ19ZAEdqNqatVoJ485mWg0dqnvaW0lbVxv0ifgfsOBEoY9FM7usUvD/kc2nosStttrfsgxfvVDY1gXPbhbYe57fjjHQECwy1cmKik9T
/1sHWU3QG4yq03NeR3daCW8oDUolXlc5Eho8841UKnWX+Iz9QN0BXVC88BwYEKSkSYpPmRWXM1u6HiEwAMqIySEcxbIlVZWOIJk=
X-Spam-Level: *
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>
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>

Corinna Vinschen wrote at about 20:19:42 +0100 on Tuesday, January 25, 2022:
 > On Jan 21 08:57, cygwin AT kosowsky DOT org wrote:
 > > Hi Corinna,
 > > I found another file with ACLs that fail even under the new snapshot
 > > cygwin1.dll.
 > > 
 > > #getfacl setup.ilg
 > > # file: setup.ilg
 > > # owner: Administrators
 > > # group: None
 > > getfacl: setup.ilg: Invalid argument
 > > 
 > > #icacls.exe setup.ilg
 > > setup.ilg NT SERVICE\TrustedInstaller:(I)(F)
 > >           NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
 > >           NT AUTHORITY\SYSTEM:(I)(F)
 > >           NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
 > >           BUILTIN\Administrators:(I)(F)
 > >           BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
 > >           BUILTIN\Users:(I)(RX)
 > >           BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
 > >           CREATOR OWNER:(I)(OI)(CI)(IO)(F)
 > > 
 > > #icacls.exe setup.ilg /save setup.acl
 > > #cat setup.acl
 > > setup.ilg
 > > D:(A;ID;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;CIIOID;GA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;ID;FA;;;SY)(A;OICIIOID;GA;;;SY)(A;ID;FA;;;BA)(A;OICIIOID;GA;;;BA)(A;ID;0x1200a9;;;BU)(A;OICIIOID;GXGR;;;BU)(A;OICIIOID;GA;;;CO)
 > > 
 > > -------------
 > > Any thoughts on what might be wrong here?
 > 
 > Again, the permissions don't make sense.  However, that's no good reason
 > for Cygwin to bail out like this.  I found the culprit, the core function
 > was still setting a certain indicator value for default ACEs even on
 > files.  I pushed a patch and created new developer snapshots.
 > 

Thanks Corinna!
That fixed it -- and eliminates pesky 'rsync' errors that I was
encountering on my backup program.

Jeff

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