Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 455869 - scp does not set the file context correctly when copying files.
Summary: scp does not set the file context correctly when copying files.
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-07-18 14:14 UTC by Daniel Walsh
Modified: 2008-07-18 15:34 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-07-18 15:34:11 UTC

Attachments (Terms of Use)

Description Daniel Walsh 2008-07-18 14:14:28 UTC
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 14:21:21 UTC
I do not like this. cp doesn't relabel the destination file either.

Comment 2 Daniel Walsh 2008-07-18 15:34:11 UTC
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.