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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=f7OLIhnbvD8f7cbJodkDP/fq5u4SmoEQQ1EuaHOW01W
	9Fs6GoBNq3otwe1ktmPB/gv/NCd/NEgcYFnlzikW1BF+wtTDHEuf0qnDbZHVclOP
	FAsgJa6jWELT1ssU8YsOFzkC10uZKZpz6htKw3wEmkg4eBqHw2uZjie0aGukb6ao
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=J3Fn3s1kEtUgWte85kNhGtV9UEM=; b=EDbV/6ZrZUUW0twdP
	UZxEx6MIPUTvcIr36bdXIlAwXjmg9CKvJzWdgn8C7m70UQdxMFRbLDDGG3HzdJVy
	ByHguo96e0nfv/idzpf5ntr4bBoHYTMPgWitx++pHRRl7jpaY6x4Z7jlZwqmmigo
	OM3PHjeEoi8pdkgqyqGb9Vwqd4=
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=-6.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2 autolearn=ham version=3.3.1 spammy=uploaded
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5C8BBADB.1040404@tlinx.org>
Date: Fri, 15 Mar 2019 07:46:51 -0700
From: L A Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: win dirs don't handle lack of inherited rule(?): getfacl + tar dir Warning: Cannot acl_to_text: Invalid argument
References: <20190308121543.GI3785@calimero.vinschen.de> <5C84EB7B.70408@tlinx.org> <7a3eaccf-511a-b71f-7f99-45a9bef35b29@SystematicSw.ab.ca> <5C87D41E.30702@tlinx.org> <20190312163617.GJ3785@calimero.vinschen.de> <5C886976.30505@tlinx.org> <20190313091848.GU3785@calimero.vinschen.de> <20190313093204.GV3785@calimero.vinschen.de> <20190313113445.GX3785@calimero.vinschen.de> <bb9bf5e7-5804-7dac-80d3-a58db02b4a26@SystematicSw.ab.ca> <20190315133430.GP3785@calimero.vinschen.de>
In-Reply-To: <20190315133430.GP3785@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 3/15/2019 6:34 AM, Corinna Vinschen wrote:
> On Mar 15 06:25, Brian Inglis wrote:
>   
>> On 2019-03-13 05:34, Corinna Vinschen wrote:
>>     
>>> I pushed a patch and uploaded new developer snapshots to
>>> https://cygwin.com/snapshots/
>>>       
>> In my experience no DACLs results in no POSIX permissions for Cygwin programs,
>> although Explorer and some other Windows programs can see and read them.
>>     
>
> I didn't say "no DACL".  The DACL is present, there's just no inheritable
> entry in there and that's no problem for Cygwin.
>   
----
Well the patch seems to work -- no error messages.  Don't know about
any other details than that.  The file perms are a combination of
rwx for user and group and nothing for 'other', despite there being
no 'default' acl. 

Also, I was able to take a tar from cygwin with acls+xattrs, and
extract it on my samba server and have the permissions recreated
on linux as they were on windows!

That was a first.  Not all of the utils work so well, but tar
restored my win-perms on linux.  Rather neat.





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

