This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setfacl(2.4.0.15): for next year !!!!! continued (2)
- From: Houder <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Dec 2015 14:20:23 +0100
- Subject: Re: setfacl(2.4.0.15): for next year !!!!! continued (2)
- Authentication-results: sourceware.org; auth=none
- References: <6ea00be43c852b42e0e59adcb23d0004 at xs4all dot nl> <20151221172503 dot GK4034 at calimero dot vinschen dot de> <5eb15a91b67658daba604310dcaa20ee at xs4all dot nl>
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