Red Hat Bugzilla – Bug 455869
scp does not set the file context correctly when copying files.
Last modified: 2008-07-18 11:34:11 EDT
Description of problem:
scp/sshd should use the system defaults for labeling of file context.
If I scp resolv.conf remote:/etc/resolv.conf
I would expect the resolv.conf file to end up labeled correcly on the remote
I do not like this. cp doesn't relabel the destination file either.
I agree I closed this bug earlier. scp should work like cp. I was on a crusade
trying to fix puppet/func and got carried away.