Bug 454072
Summary: | RHEL 5.1 - cp and chmod don't respect NFSv4 ACLs | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Steve <sfernand> | ||||||
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5.3 | CC: | jscotka, kdudka, marcobillpeter, msusta, rvokal, staubach, syeghiay, tao, ybabar | ||||||
Target Milestone: | rc | Keywords: | FutureFeature | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1646985 (view as bug list) | Environment: | |||||||
Last Closed: | 2009-09-02 09:17:11 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1646985 | ||||||||
Attachments: |
|
Description
Steve
2008-07-04 11:37:51 UTC
Could you please attach that strace(s) from issue tracker? I don't have access there. Created attachment 311035 [details]
strace -ftvo nfs4_getfacl.strace nfs4_getfacl foo
strace of nfs4_getfacl from the client.
Created attachment 311036 [details]
strace -ftvo cp.strace cp --preserve=all foo bar
strace of cp --preserve=all foo bar executed on the client.
I agree that it affects cp (and that cp/mv/install doesn't preserve NFSv4 ACL's on files) - as the NFSv4 ACL's are not supported by libacl which is used by coreutils. But I don't see anything wrong with NFSv4(or better said ACL's) about chmod command. Coreutils command chmod(man 1 chmod) has imho nothing to do with ACL's (maybe syscall from sys/types.h (man 2 chmod) has, but this is not comming from coreutils). Correct me if I'm wrong. thanks for the report. This has been addressed upstream, since coreutils-6.12, thanks to changes by Bruno Haible in gnulib. In case you want to try the work-in-progress, here's a relatively recent snapshot http://meyering.net/cu/coreutils-ss.tar.gz Patch for coreutils cp/mv xattr support (which solves this bug as well) has been sent to bug-coreutils mailing list: http://lists.gnu.org/archive/html/bug-coreutils/2008-11/msg00108.html Now it is pending for review as it is not high priority. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1262.html |