X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=BJIAZN6hXubk1jhF
	VynjwV1MN/NwGVcCplOz49SDHqtiAEV++Z5lc+Kwep8eT22SaOplFX1Xzxj/hFlG
	khpS+XApxg2Q7X5LrRFoYtlsMhBjZXsN/nk+cHWNdeEq4J8JmnTNjIZcVhpdex1j
	R3b8PjF+cyHgjnXC5262A5mGcU8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=x3380v+WG2UembR59dIT6q
	ykfAk=; b=W9OX7vlJY87rJaoYp54o2qJCA3vDcZ3r+iidufgOjJUlUQntit2mKw
	/hIICMNfFy/3Oh/x8j5xpwuqt5iTxBY3ItVp3bNFOQJHXdA1hDxpzsLg7v0jv8Jv
	Jt1elvamSIbpwqUQLBm6oo4QsHhMitHT4akALWBraMG8RLUD4xfFY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,KAM_THEBAT,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=Monday, monday, you'd, youd
X-HELO: forward101o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1552258202;	bh=mYLzWF/3hTF2PxS21esuT8ZifkH3jRpt6cxHBdY9uFQ=;	h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;	b=ZYuDdRuZx+Mo35PBF6w0LxOdXQuKVZad7uZCU5r0sxQkS9svidvdyweN53GKCr5VS	 j8D+8y54OZD4DuvugGysu6r0mlNaVNP0ECfUUQD/2m6mFTQHOeTsjxUbeu2OGD1LLj	 UjpfTYLyOLPvn5k5ut0AIXNMF7PBH+pXVK73mWgA=
Authentication-Results: mxback8g.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 11 Mar 2019 01:37:19 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <951349031.20190311013719@yandex.ru>
To: L A Walsh <cygwin@tlinx.org>, cygwin@cygwin.com
Subject: Re: win dirs don't handle lack of inherited rule(?): getfacl + tar dir  Warning: Cannot acl_to_text: Invalid argument
In-Reply-To: <5C853D99.3080401@tlinx.org>
References: <5C81E2EE.7020708@tlinx.org> <20190308121543.GI3785@calimero.vinschen.de>   <5C84EB7B.70408@tlinx.org> <19210197464.20190310162749@yandex.ru>  <5C853D99.3080401@tlinx.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, L A Walsh!

> On 3/10/2019 6:27 AM, Andrey Repin wrote:
>> Greetings, L A Walsh!
>> 
>>> On 3/8/2019 4:15 AM, Corinna Vinschen wrote:
>>>> On Mar  7 19:35, L A Walsh wrote:
>>>>> I ran tar on another directory and got a huge number**
>>>>> of these:
>>>>> tar: rules: Warning: Cannot acl_to_text: Invalid argument
>>>>> tar: adblockplus: Warning: Cannot acl_to_text: Invalid argument
>>>>> tar: autopager: Warning: Cannot acl_to_text: Invalid argument
>>>>> tar: bookmarkbackups: Warning: Cannot acl_to_text: Invalid argument
>>>>> ---
>>>> Can you please provide the cacls or icacls command creating
>>>> a directory that allows to reproduce the issue?
>> 
>>> I doubt that area of my disk has ever been manipulated by 
>>> cacls or icacls. That's in my roaming profile.
>> 
>> It's not about manipulation, it's about current state.
>> 
>> icacls is a Windows equivalent of POSIX's setfacl/getfacl.
> ---
>         I know.  I meant manipulate in the sense of 
> handling something with dexterity and finesse. -- which
> is a different connotation or sense of the word than when
> talking about one person manipulating another.

>         How would _you_ create these symptoms if you don't know
> how they got that way -- just that they exist that way.

By running the dump of icacls locally on a given directory.
The output is the same fomat as input, much like it is for get/setfacl.

>         Furthermore.  I'm pretty sure that a person would not
> be able to create that symptom with icacls (or the deprecated cacls).

You'd be surprised.

> I would not doubt that icacls would refuse to create
> mis-ordered ACL's, for example.

Again, you'd be surprised.

> I.e. its likely a non-windows
> program or odd interaction between one and windows.

> That's why I pointed out that besides cygwin creating acl's that
> explorer will complain about, the roaming profile has also received
> profiles from a samba server on linux (with a different permission
> structure)..  Its unclear what permissions are copied then and how
> they are mapped.


-- 
With best regards,
Andrey Repin
Monday, March 11, 2019 1:35:53

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

