scp: Problem when source and destination are identical
Gert Doering
gert at greenie.muc.de
Fri May 25 19:43:15 EST 2001
Hi,
On Fri, May 25, 2001 at 11:39:21AM +0200, Markus Friedl wrote:
> scp is not 'broken'. your suggested change will break both scp and rcp.
>
> this patch may fix this special use. however, it will break scp/rcp
> into a directory when you can only write this particular file and
> not the directory. moreover, it will change the scp/rcp behaviour
> if the partition is almost full. and so on.
Which is why everyone else agreed that a switch to change between "overwrite
in place" and "do atomic replace" is a good idea.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert at greenie.muc.de
fax: +49-89-35655025 gert.doering at physik.tu-muenchen.de
More information about the openssh-unix-dev
mailing list