Bug 1100375
Summary: | cp -Z does not copy a file when SELinux context is supplied | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Milos Malik <mmalik> |
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
Status: | CLOSED DUPLICATE | QA Contact: | qe-baseos-daemons |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-23 04:54:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Milos Malik
2014-05-22 16:53:51 UTC
This is not a bug - and duplicate of #1084471... this is documented behaviour change - in RHEL6, -Z <something> was used for setting context. In RHEL 7, long option --context has to be used for setting context, and -Z just restores the context of the file. Closing duplicate, as I plan to improve the docs with http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=30acfcab as #1084471 bugfix. *** This bug has been marked as a duplicate of bug 1084471 *** |