X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD0FF3858408
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.umass.edu
Subject: Re: Duplicate ACLs? - Can't copy file even with Admin permissions
To: cygwin@cygwin.com
References: <25043.7019.643488.389876@consult.pretender>
 <YdWCPsZOModGdRXM@calimero.vinschen.de> <204819220.20220106210548@yandex.ru>
 <25047.21108.921463.685653@consult.pretender>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <8622a789-311b-3e16-bd73-660ffc030061@cs.umass.edu>
Date: Thu, 6 Jan 2022 15:46:56 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
 Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <25047.21108.921463.685653@consult.pretender>
Content-Language: en-US
X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
 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: moss@cs.umass.edu
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 1/6/2022 3:35 PM, cygwin@kosowsky.org wrote:
> Subinacl is pre-installed on the version of Win10 I got from MSFT.

Not on mine, and the general information around the Web is that you have
to download it.  Also, the speculation is that it is not being maintained,
while icacls is ...

Regards - Eliot

> Andrey Repin wrote at about 21:05:48 +0300 on Thursday, January 6, 2022:
>   > Greetings, Corinna Vinschen!
>   >
>   > > On Jan  3 10:51, cygwin@kosowsky.org wrote:
>   > >> I have a file: /c/Config.Msi/3da9e136.rbf that I cannot copy, even when
>   > >> [...]
>   > >>       # getfacl 3da9e136.rbf
>   > >>       # file: 3da9e136.rbf
>   > >>       # owner: Administrators
>   > >>       # group: SYSTEM
>   > >>       user::rwx
>   > >>       group::rwx
>   > >>       other::r-x
>   > >>       user::rwx
>   > >>       group::rwx
>   > >>       group:SYSTEM:rwx
>   > >>       mask::rwx
>   > >>       other::r-x
>   > >> [...]
>   > >> Note that 'subinacl' shows:
>   > >> =================================
>   > >> +File C:\Config.Msi\3da9e136.rbf
>   > >> =================================
>   > >> /control=0x0
>   > >> /owner             =builtin\administrators
>   > >> /primary group     =system
>   > >> /audit ace count   =0
>   > >> /perm. ace count   =3
>   > >> /pace =system  Type=0x0 Flags=0x3 AccessMask=0x1f01ff
>   > >> /pace =everyone  Type=0x0 Flags=0x3 AccessMask=0x1200a9
>   > >> /pace =builtin\administrators  Type=0x0 Flags=0x3 AccessMask=0x1f01ff
>   >
>   > > I don't see a reliable, trustable source for downloading subinacl, so
>   > > let's do this with builtin tools.
>   >
>   > https://download.microsoft.com/download/1/7/d/17d82b72-bc6a-4dc8-bfaa-98b37b22b367/subinacl.msi
>   > Since installer is signed, you can verify its integrity.
>   >
>   >
>   > --
>   > With best regards,
>   > Andrey Repin
>   > Thursday, January 6, 2022 21:05:06
>   >
>   > Sorry for my terrible english...
>   >
>   >
>   > --
>   > 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
> 

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