delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/15/10:47:07

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: win dirs don't handle lack of inherited rule(?): getfacl + tar dir Warning: Cannot acl_to_text: Invalid argument
References: <20190308121543 DOT GI3785 AT calimero DOT vinschen DOT de> <5C84EB7B DOT 70408 AT tlinx DOT org> <7a3eaccf-511a-b71f-7f99-45a9bef35b29 AT SystematicSw DOT ab DOT ca> <5C87D41E DOT 30702 AT tlinx DOT org> <20190312163617 DOT GJ3785 AT calimero DOT vinschen DOT de> <5C886976 DOT 30505 AT tlinx DOT org> <20190313091848 DOT GU3785 AT calimero DOT vinschen DOT de> <20190313093204 DOT GV3785 AT calimero DOT vinschen DOT de> <20190313113445 DOT GX3785 AT calimero DOT vinschen DOT de> <bb9bf5e7-5804-7dac-80d3-a58db02b4a26 AT SystematicSw DOT ab DOT ca> <20190315133430 DOT GP3785 AT calimero DOT vinschen DOT de>
In-Reply-To: <20190315133430.GP3785@calimero.vinschen.de>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019