Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36645 - "ls -l" doesn't show extended permissions when using ACLs
Summary: "ls -l" doesn't show extended permissions when using ACLs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-28 06:37 UTC by Ithamar Garbe
Modified: 2004-10-02 23:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ithamar Garbe 2003-12-28 06:37:20 UTC
When adding user- or group-permissions via "setfacl -m ..." ls should normally display a "+" after the normal permission bits to show that extended attributes are set.
Current output:
-rw-r--r--    1 root     root            0 Dec 28 15:32 test

Expected output:
-rw-r--r--+   1 root     root            0 Dec 28 15:32 test




Reproducible: Always
Steps to Reproduce:
1. Create a testfile "touch test"
2. Add extended permissions "sefacl -m g:rw:nobody test"
3. Read the output of "ls -l test"

Actual Results:  
Nothing ;)

Expected Results:  
The "+" after the standart-permission-bits (ugo) should be displayed
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-28 10:25:52 UTC
You need 'acl' in USE when merging coreutils, but I guess you did have that?

Seemant, who handles acl?
Comment 2 Ithamar Garbe 2003-12-28 12:02:37 UTC
Sure. 

Rebuilding coreutils didn't help, either.
Comment 3 zhcnmccmzhdvfevooo 2004-01-16 13:10:15 UTC
Just had a look at the coreutils-5.0-r5 ebuild. I could not find any reference to the acl patches. I think this is the problem.
You should try the masked coreutils-5.0-r6 ebuild, which has them in
Comment 4 zhcnmccmzhdvfevooo 2004-01-16 13:10:15 UTC
Just had a look at the coreutils-5.0-r5 ebuild. I could not find any reference to the acl patches. I think this is the problem.
You should try the masked coreutils-5.0-r6 ebuild, which has them in´the ebuild
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-16 13:33:49 UTC
well, we don't have an acl expert in house.  however, the previous poster is absolutely correct -- 5.0-r5 may not have acl.

Please do try 5.0.91-r4 instead.
Comment 6 Ithamar Garbe 2004-01-16 13:46:04 UTC
Ok, the unstable coreutils-5.0-r6 ebuild works for me but it would be nice if the ACL support would be added to a stable ebuild :)
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-16 13:52:11 UTC
reopening coz I just bumped 5.0.91-r4 to stable to replace 5.0-r6 -- please put that through testing
Comment 8 SpanKY gentoo-dev 2004-10-02 23:58:47 UTC
5.2.1 is stable and should support this