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:mime-version:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; q=dns; s=default; b=Xcqg1s/GRCxQkqvc35NU
	lNDzyrkUBK8r3JzHalCOdU0kjNEQYRXDwa+M+mJ4c7j664TvqBwoVRFYlwz8Da7S
	NoxA+DEDsX/g1WxQ009Vk9Sws4DPQNJS5dM6T1mP2Wrets57+vl2sa9uaeX+zE/s
	kR1hFfHg2pEGTBlirj7/VgA=
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:mime-version:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; s=default; bh=1Ks1CZAnZPBtiEUL66DKXgr23J
	0=; b=lU/iDh536tBxjX9XiPQka5jbfPJh1JkI27dUodGeL7feotmPPg6YFXxvF6
	fSXjS+5vynGL0K8pn29/8Z/kHQCefyHzrRytmotsHFCpItKbFrZqCC/ytPkXlIRR
	LTSsRtmJZ6inTvL3g+Q/WIIdVhtwq0xCSSGDHauNaGF8bbZj4=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1746, calculated, H*UA:Webmail, OPTIONS
X-HELO: lb1-smtp-cloud6.xs4all.net
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 22 Dec 2015 14:20:23 +0100
From: Houder <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: setfacl(2.4.0.15): for next year !!!!! continued (2)
In-Reply-To: <5eb15a91b67658daba604310dcaa20ee@xs4all.nl>
References: <6ea00be43c852b42e0e59adcb23d0004@xs4all.nl> <20151221172503.GK4034@calimero.vinschen.de> <5eb15a91b67658daba604310dcaa20ee@xs4all.nl>
Message-ID: <2e10f8b8ba94d639cc2a82918da34329@xs4all.nl>
X-Sender: houder@xs4all.nl (Bsgm45mfvIUz6wTj+Crx7Q==)
User-Agent: XS4ALL Webmail
X-IsSubscribed: yes

On 2015-12-22 12:37, Houder wrote:
> On 2015-12-21 18:25, Corinna Vinschen wrote:
>> On Dec 21 17:30, Houder wrote:
>>> Hi Corinna,
>>> 
>>> For next year !!!!! (posted as a reminder) ... See below.
>> 
>> Next year?  Nope... see below.
>> 
> 
> Hi Corinna,
> 
> Thank you for all the hard work you do ...
> 
> As an encore (for this year though ;-). See below (Cygwin-2.4.0-0.16). 
> <==== 16
[snip]

> 64-%% setfacl -m m:rwx bar.txt
> 64-%% getfacl bar.txt
> # file: bar.txt
> # owner: Henri
> # group: None
> user::rw-
> group::r--
> mask:rwx <==== yes, as requested by me, but ...
> other:r--
> 
> 64-%% ls -l bar.txt
> -rw-rwxr-- 1 Henri None 0 Dec 22 12:21 bar.txt
> 
>  - does this output make sense?
>    (no access to Linux at the moment; cannot verify)

To make it clear what I meant by 'but reading setfacl(1)' (previous 
post):

 From setfacl(1):

OPTIONS

  -n ...

(description)
The default behavior of setfacl is to recalculate the ACL mask entry, 
unless
a mask entry was explicitly given.

(my interpretation)
  - unless a mask entry with "less privileges" was specified (i.e. given) 
...
    (i.e. the mask must still be (internally) recalculated , using the 
rules as
     stated further down)

What I mean to say, is:
  - the mask entry should be the calculated mask, unless the specified 
(i.e. given)
    mask takes away one or more of the privileges of the calculated mask.
    if so, the mask entry should be the calculated mask, save for the 
privileges
    that have been taken away ...

(description continued)
The mask entry is set to the union of all permissions of the owning 
group, and
all named user and group entries.
(These are exactly the entries affected by the mask entry).

Regards,
Henri

=====

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

