Mailing List Archive

[Bug 619] scp permissions
http://bugzilla.mindrot.org/show_bug.cgi?id=619

djm@mindrot.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX



------- Additional Comments From djm@mindrot.org 2004-02-10 13:37 -------
This behaviour is by-design: scp doesn't try to change the ownership of files
that it copies.

Why? The simple answer is that rcp didn't and scp is rcp-over-ssh. A better
explanation would probably be that the owner user on the local host is not
guaranteed to exist on the remote host.

In any case, the behaviour won't be changing as it has too many consequences. If
you want to preserve ownership, use tar-over-ssh (its faster too).

(Sorry for the long delay in answering, but I just noticed this bug)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.