getfacl seems to list wrong permissions for Group
L Anderson
lowella@mvseac.com
Mon Aug 20 03:20:00 GMT 2012
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
More information about the Cygwin
mailing list