Bug 125447
Summary: | ls -lZ gives bogus ACL results | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Russell Coker <russell> |
Component: | coreutils | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 5.2.1-15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-06-07 13:35:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Russell Coker
2004-06-07 13:11:46 UTC
I used a slightly different patch: --- coreutils-5.2.1/src/ls.c 2004-06-04 09:55:05.010506573 +0100 +++ coreutils-5.2.1/src/ls.c 2004-06-07 14:18:07.448963915 +0100 @@ -2530,7 +2530,11 @@ } #if HAVE_ACL || USE_ACL - if (format == long_format) + if (format == long_format +#ifdef WITH_SELINUX + || format == security_format +#endif + ) { int n = file_has_acl (path, &f->stat); f->have_acl = (0 < n); Fixed in coreutils-5.2.1-15. |