delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/28/08:17:12

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=TgsyJ42J1b5q8xgT1n5hNVFbazvuujUE4YsVNZftBudvFEpJgbJgV
B5bAXR5Ytgu4No1KisKYMmg+C6+mH7HHJTG7X0nRYsqhVQVjmC5SZIPVNbGoWe1Y
jJKBkwjvAOuSH9pZ1mx2zeXeTjn+ntSjy4os0c3NFtSll0zD4WoLM8=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=8vNbWsd9jhc8cRxIn6Yzg2a9qmU=; b=Oore4X/s5tHHhbAaT70u4wFS2nPo
kWmGROX6ev/KtLCQMXUP6LLhf/0VErUr7w1odogou+cQBUAlow9+EBNE1uezdCKg
0gLbTeJn4jW+R75DVFZFxzA1gQQpziHefGWSfAAVkrUuuqQPS2+Au59tE7ulpPrn
4GtoafLHGF8v3Ac=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sat, 28 Feb 2015 14:16:49 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: unclear wording on getfacl manpage (--all != ALL)
Message-ID: <20150228131649.GV11124@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54F104B7 DOT 6050307 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <54F104B7.6050307@tlinx.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--YvpO9wCO44Ze8QQC
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 27 15:58, Linda Walsh wrote:
> on the CYGWIN getfacl manpage, it has
>=20
>   -a, --all
>       display  the  filename, the owner, the group, and the ACL of the
>       file
>=20
> --
> But in the linux version it says:
>=20
>=20
>    -a, --access
>        Display the file access control list.
>=20
> --
>=20
> The "--all" in the cygwin cygwin version sounds like it
> should display all ACL-related entries, but it really only
> displays the inode-specific acl on directories.
>=20
> To display "all ACL-related entries", one uses no parameter.
>=20
> The usage of "--all" to indicate the option "limits" output
> to only the "inode-specific" part is confusing and unclear.

The original getfacl was based on the Solaris getfacl (just as Cygwin's
ACL handling is based on the Solaris one).  It only had -a.  I guess the
--all was a thinko when adding the long options, as was --dir.

I changed that to --access and --default as on Linux.  I kept the --all
and --dir in for backward compatibility.  They are just undocumented now.


HTH,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--YvpO9wCO44Ze8QQC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU8b/BAAoJEPU2Bp2uRE+g5RIP/1K/5VKeN6gyOx1DcJhLUCcL
U+HQGvy/r/DcI1jo32rjoLn6ey7C+YTJCLbB0ljvO/FGpRYdpuqcQAYdH97tDhAD
xPJeOgyoYhsYJVj5CzEd1B+QQ+hz8VaRz5UIED/N75THVFckqOaIxjFvRqMeGywN
24YFDhLZlEpRTeRttEDhyi7UwhhGuWf/jMroVYIECXKg6M2jwnpOiWjQl2B6Zhh2
pSStQeguOHCCEuFt0Q4SLZGaMUmCX1ynY1WXRJMbkxgdA1FlNZT96vOzQ3OO9kET
d+xWLDjsmYYj9QnXopp28Y1my5qb9kePRm+TLBUVZmwL1/8g5EckxSaHfgnIInNA
rVMZtRSto5pS0TLx4In4+Ygbiv7r3W1Y1VFp/uf2hAUy9c0zOJCdIc4AEHEYVmUn
Q3MldJSMiJLzYkDi27VYOHPT2oB06T9zxPYJftzPWkcWYm/TFuj2tCgjEt0FcqfL
i25tsEQ7ch/pF7ae1FPg1RhKIan9PN+Hzowi6NcZ6ysH8jDch/LelxssVKrJAGGQ
RKyibxu48jXNZkNJZAqzyIkkd/QE0dHLQJJGMgFuG0xAg/BiUTibB7sKpiTUyxAq
INUitYoVuribgD61Wj1JFzXCXIQTwlhZkbQiRXOESHnsDLsOPqiNg62LldQwqLnY
4/ctaWXzPoKLoiOXtxn6
=6um9
-----END PGP SIGNATURE-----

--YvpO9wCO44Ze8QQC--

- Raw text -


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