[Bug 485] scp doesn't preserve symbolic links

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jun 5 00:46:31 EST 2003


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





------- Additional Comments From jsk29 at cornell.edu  2003-06-05 00:46 -------
Sorry for not responding about the patch; I didn't ignore it.  It doesn't solve
the problem:  Information in a directory tree (a symbolic link) is disregarded
by scp.

Although I feel that the "correct" way to do this is to change the behavior of
scp to always respect links, another way is possible, which will retain
backwards  compatibility.  The switch "-R" is not in use by scp yet, and "cp -R"
means to copy a tree recursively, while respecting symbolic links.  Implementing
"-R" in scp will serve both purposes:  symbolic links will be respected, _and_
"scp -r" will work exactly the same way as it currently does.  No current
scripts will cease to function.

(I still think that rcp is a bad model for scp to mimic...  modelling off of the
behavior of cp would be much more user-friendly for most people, since they have
never used rcp.)



------- 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