Bug 455869 - scp does not set the file context correctly when copying files.
scp does not set the file context correctly when copying files.
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Tomas Mraz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-18 10:14 EDT by Daniel Walsh
Modified: 2008-07-18 11:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-18 11:34:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Daniel Walsh 2008-07-18 10:14:28 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
Comment 1 Tomas Mraz 2008-07-18 10:21:21 EDT
I do not like this. cp doesn't relabel the destination file either.
Comment 2 Daniel Walsh 2008-07-18 11:34:11 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.