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:from:subject:reply-to:to:references:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=fUgXRFrb9Zhg5fYc
	lIpumeFEq8YJzeoOREyFds+8n3QwPjTE8UhISDQAFZb6esd5GLHUjKXqDOZG++dR
	rF5+5OXhCELRNZ8u1stHmXzVApZjr2+rXK3RC5jVG3rDR4Y90lTXAY8ySPNPJ6la
	n2kzw1eVvizWdnuOQolUI5mCEPk=
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:from:subject:reply-to:to:references:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=YXJEWcJcaxFNhN+8GlHQap
	tVSro=; b=TNK6PIYo8sgoMVaTgmTrD8kkUf97OS6xpsgKi6Vxfd4/nc6Q6dtvAC
	T3GgxW+oNlpEQa1yDrj5sO3189XynQHeA2wx0gpZbxG6UvazugjPXoJGBmhBshZz
	DPCLmAezgcmja7PfzJJFLBV+C4hNdJl75yTlN8/TJmwB8cmaOs1Yw=
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=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=HX-Languages-Length:949
X-HELO: smtp-out-so.shaw.ca
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Subject: Re: win dirs don't handle lack of inherited rule(?): getfacl + tar dir Warning: Cannot acl_to_text: Invalid argument
Reply-To: Brian.Inglis@SystematicSw.ab.ca
To: 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> <20190312163617.GJ3785@calimero.vinschen.de> <5C886976.30505@tlinx.org> <20190313091848.GU3785@calimero.vinschen.de> <20190313093204.GV3785@calimero.vinschen.de> <20190313113445.GX3785@calimero.vinschen.de>
Openpgp: preference=signencrypt
Message-ID: <bb9bf5e7-5804-7dac-80d3-a58db02b4a26@SystematicSw.ab.ca>
Date: Fri, 15 Mar 2019 06:25:30 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3
MIME-Version: 1.0
In-Reply-To: <20190313113445.GX3785@calimero.vinschen.de>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2019-03-13 05:34, Corinna Vinschen wrote:
> Per POSIX, the normal acl (ACL_TYPE_ACCESS) and the inheritance acl
> (ACL_TYPE_DEFAULT) are two separate lists.  So we have the
> ACL_TYPE_ACCESS with 9 entries and the ACL_TYPE_DEFAULT with 0 entries.
> 
> And while empty ACL_TYPE_DEFAULT acls are valid per POSIX, the Cygwin
> function creating the text representation for an acl didn't allow
> empty acls.
> 
> 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.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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

