delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/19/19:22:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_RW,TW_WX
X-Spam-Check-By: sourceware.org
X-Eon-Dm: dm0206
X-Eon-Sig: AQMH8HNQMXUgbPNsewIAAAAB,30611681beb3f298d6fc44417b20079f
Message-ID: <50317517.6010902@mvseac.com>
Date: Sun, 19 Aug 2012 16:21:59 -0700
From: L Anderson <lowella AT mvseac DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120715 Firefox/14.0.1 SeaMonkey/2.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: getfacl seems to list wrong permissions for Group
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.260,0.0.0000 definitions=2012-08-19_06:2012-08-17,2012-08-19,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1208190300
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

In directory /cygwin/bin of my cygwin installation,

$ ls -l  //yields:
[snip]
-rwxr-xr-x  1 lowella Administrators 73742 Nov 14 2010 zsyncmake.exe

and

$ ls -ln  //yields
[snip]
-rwxr-xr-x  1 1000  544  73742 Nov 14  2010 zsyncmake.exe

and

$ stat -c '%A %a %n' *  //yields:
[snip]
-rwxr-xr-x 755 zsyncmake.exe

all quite consistent and pretty much as expected.
NB: zsyncmake.exe is the last file listed from /bin.

However,

$ getfacl -a zsyncmake.exe  //yields:
# file: zsyncmake.exe
# owner: lowella
# group: Administrators
user::rwx
group::---
mask:rwx
other:r-x

Why does getfacl give "group::---" instead of "group::r-x" as
appears in the ls and stat listings?  Is this a bug in getfacl?
Incidentally, any file from /bin that gets 'getfacled' shows
the same problem.

Regards,

LA

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