BUG: scp -r follows symlinks

Markus Friedl markus at openbsd.org
Wed Jan 7 04:30:16 EST 2004


On Tue, Jan 06, 2004 at 10:02:51AM -0700, Bob Proulx wrote:
> Edward S. Peschko wrote:
> > No, not if you make the flag an optional one that doesn't exist right
> > now.
> 
> > scp -n -r user at host:/directory /directory2
> 
> Both rsync and GNU cp both handle symlinks as symlinks when given the
> '-a' option.  It would be easier on users to keep consistent with
> them.

as has been noted 100 times before:

this would break scp.

adding this to sftp would be fine.




More information about the openssh-unix-dev mailing list