From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14695 invoked by alias); 12 Mar 2019 16:36:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14687 invoked by uid 89); 12 Mar 2019 16:36:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-103.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE,WEIRD_QUOTING autolearn=ham version=3.3.1 spammy=familiar, H*F:D*cygwin.com X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.133) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 12 Mar 2019 16:36:22 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MN5Nt-1hJuMR0kR3-00J6ng; Tue, 12 Mar 2019 17:36:18 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 383D2A80733; Tue, 12 Mar 2019 17:36:17 +0100 (CET) Date: Tue, 12 Mar 2019 16:36:00 -0000 From: Corinna Vinschen To: L A Walsh Cc: cygwin@cygwin.com Subject: Re: win dirs don't handle lack of inherited rule(?): getfacl + tar dir Warning: Cannot acl_to_text: Invalid argument Message-ID: <20190312163617.GJ3785@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: L A Walsh , cygwin@cygwin.com References: <5C81E2EE.7020708@tlinx.org> <20190308121543.GI3785@calimero.vinschen.de> <5C84EB7B.70408@tlinx.org> <7a3eaccf-511a-b71f-7f99-45a9bef35b29@SystematicSw.ab.ca> <5C87D41E.30702@tlinx.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VLIBou5mBM6+kGHE" Content-Disposition: inline In-Reply-To: <5C87D41E.30702@tlinx.org> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-03/txt/msg00297.txt.bz2 --VLIBou5mBM6+kGHE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2071 On Mar 12 08:45, L A Walsh wrote: > On 3/10/2019 7:09 AM, Brian Inglis wrote: > > Define this sh function, run it on problematic directories or files, an= d reply > > with the output: > > > > # lsp - list permissions with ls, getfacl, icacls > > lsp () > > { > > local p; > > for p in "$@"; > > do > > ls --color=3Dauto -dl "$p"; > > getfacl "$p"; > > icacls "$(cygpath -m ""$p"")"; > > done > > } > > > > e.g. and running my cygcheck sanitizer over the output: > >=20=20=20 > --- > What is your cygcheck sanitizer? I don't think I'm familiar with it.= .. >=20 > ok, the top directory of my Palemoon install just below the > profiles dir has the problem from tar: >=20 > tar: default.nlaw-32: Warning: Cannot acl_to_text: Invalid argument > Your script (thank you very much!), shows: >=20 > > lstp default.nlaw-32 > drwxrwx---+ 1 Bliss\law Bliss\lawgroup 0 Mar 12 08:30 default.nlaw-32 > # file: default.nlaw-32 > # owner: Bliss\law > # group: Bliss\lawgroup > user::rwx > group::rwx > group:TrustedInstaller:rwx > group:SYSTEM:rwx > group:Bliss\Domain Admins:rwx > group:Administrators:rwx > group:lawgroup:rwx > mask::rwx > other::--- > getfacl: default.nlaw-32: Invalid argument >=20 > default.nlaw-32 NULL SID:(DENY)(Rc,S,REA,WEA,X,DC) > Bliss\law:(F) > BLISS\lawgroup:(RX,W,DC) > NT SERVICE\TrustedInstaller:(RX,W,DC) > NT AUTHORITY\SYSTEM:(RX,W,DC) > BLISS\Domain Admins:(RX,W,DC) > BUILTIN\Administrators:(RX,W,DC) > Athenae\lawgroup:(RX,W,DC) > Everyone:(Rc,S,RA) > Mandatory Label\High Mandatory Level:(I)(OI)(CI)(NW) >=20 > Successfully processed 1 files; Failed processing 0 files > ------ > Does that give any insight into the problem? Can you please create an acl file like this: $ icacls default.nlaw-32 /save x.acl and send the x.acl file? This should allow me to create an equivalent DACL for testing. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer --VLIBou5mBM6+kGHE Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyH4AEACgkQ9TYGna5E T6BwARAAlUQuAn+lLlO6GThXXaOG/KARArXvBPjF6oA2pm6PNmnpvOGbrHL0WpO0 p7uH+EmBFxxIDRe2bkGeX3iS9NnvgyQpZlpU7a0BIJRW6Y1WQHo8+liVhn4MkAX2 bemcwWGViiSs75JFSNHT4YYptFrui/n9eiKC/KYqWQmzTqGt043LxSSew6YK2Yso gfmVhsGlr2D5sFKcfmcoFmF6+6Wwht0cZzvHEc5obVV8v7orCFwbu0OWJC15C5Jf NTUJvoXPkdS/4rbugURi1LvW7BHLlYBSauJjIqueZX/noMy+JzLRMDU2lS6tIKTk eNS2ejblSLlIlFoijgeI44kk65D/vmKKeDq7fRlwJN+EaiO84PTyVKAtkKMnNHAJ K+DzIYPs+1yskKi9UyO1AXlzKtsHqFjRnB0SnR/fI2IwmUAaSU8NgO/PCpycLvBu SXX+AXFIcuD2YyEjIynqZZonKJOmZ2HMDx7qgQ8Co8YY7DRBbj05PCaKjb/H3/zU +Ug250ux+gglhzudpV+3VpwbqmVjJ47np8Cr2L9qBLg3WU2OHIj9oSZyqQLBkAP+ MNs9EGBvRf+q0uS/RWhWzgifa5xfEyHohZso97FPQ7VPa/tduqLgIVsik5a6MOr4 nJkQp2ToWA/gI6ZLhXBMFMApzvBsgBIrHfVkFm0E2F625DK5h1U= =NeTF -----END PGP SIGNATURE----- --VLIBou5mBM6+kGHE--