Bug 487374 - Files with an ACL missing + in permissions string in ls -Z output
Summary: Files with an ACL missing + in permissions string in ls -Z output
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-25 17:34 UTC by Steve Bonneville
Modified: 2009-03-16 19:42 UTC (History)
3 users (show)

Fixed In Version: 6.10-35.fc9
Clone Of:
Environment:
Last Closed: 2009-02-28 03:21:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steve Bonneville 2009-02-25 17:34:15 UTC
Description of problem:

When files and directories have an ACL set on them, ls -l correctly displays + at the end of the permissions string, but ls -Z does not, giving an incorrect indication of how to interpret the regular permissions of the file.

Version-Release number of selected component (if applicable):
coreutils-6.12-18.fc10.x86_64

Steps to Reproduce:
1.  setfacl -m u:user:r file
2.  ls -l file
3.  ls -Z file
  
Actual results:
[sbonnevi]$ ls -l file
-rw-r-----+ 1 sbonnevi sbonnevi 0 2009-02-25 10:10 file
[sbonnevi]$ ls -Z file
-rw-r-----  sbonnevi sbonnevi unconfined_u:object_r:user_home_t:s0 file

Expected results:
[sbonnevi]$ ls -l file
-rw-r-----+ 1 sbonnevi sbonnevi 0 2009-02-25 10:10 file
[sbonnevi]$ ls -Z file
-rw-r-----+ sbonnevi sbonnevi unconfined_u:object_r:user_home_t:s0 file

Comment 1 Fedora Update System 2009-02-26 16:52:59 UTC
coreutils-6.12-19.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/coreutils-6.12-19.fc10

Comment 2 Ondrej Vasik 2009-02-26 16:54:39 UTC
Thanks for report, not only ACL missing, but column width deformed as well ... both things fixed in Rawhide (coreutils-7.1-4.fc11)

Comment 3 Fedora Update System 2009-02-27 11:06:29 UTC
coreutils-6.10-34.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/coreutils-6.10-34.fc9

Comment 4 Fedora Update System 2009-02-28 03:21:48 UTC
coreutils-6.12-19.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2009-03-16 19:42:09 UTC
coreutils-6.10-35.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.