coreutils
coreutils copied to clipboard
cp, ls, mv: Implement SELinux context handling
Similarly to what is reported for install in #1809 several other GNU utilities such as cp, ls and mv implement similar options for dealing with files' security contexts:
ls:-Z, --context print any security context of each filemv:-Z, --context set SELinux security context of destination file to default typecp:-Z set SELinux security context of destination file to default type(--contexthas a similar, but potentially different meaning here, and should also be considered)
Would it make sense to optionally pass in a parameter list that does the full chmod/chown/chgrp/chattr?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hasn't been fixed yet