[Bug 882] Scp cannot copy self-referring directories

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 1 13:19:58 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=882

dtucker at zip.com.au changed:

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



------- Additional Comments From dtucker at zip.com.au  2004-07-01 13:19 -------
Basically, the spec for scp is "what rcp does", and the spec for rcp is "what
some guys at Berkeley wrote in the early 80's".  rcp might even predate the
existence of symlinks.

Like Ben says, the closest thing to a spec for scp is "scp.c".

Suggested workarounds:
1) Don't do that, then.
2) Use tar-over-ssh or rsync-over-ssh to transfer it link and all, eg:
ssh yourhost 'tar cf - dir-to-copy' | tar xvf -
3) Use sftp (it doesn't do recursive yet, one day it will).




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




More information about the openssh-bugs mailing list