This is the mail archive of the
cygwin
mailing list for the Cygwin project.
getfacl seems to list wrong permissions for Group
- From: L Anderson <lowella at mvseac dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 19 Aug 2012 16:21:59 -0700
- Subject: getfacl seems to list wrong permissions for Group
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