Detection of identical file doesn't work for localhost:
Tim Rice
tim at multitalents.net
Sun Feb 4 12:13:08 EST 2001
On Sun, 4 Feb 2001, Damien Miller wrote:
> On Sat, 3 Feb 2001, Christian Kurz wrote:
>
> > I have no idea and and that's why I asked here, if it would be possible
> > to detect localhost and then invoke the other method for doing a
> > file-copy. But as Damien pointed out, there far to many things to test
> > for, so I also agree that openssh shouldn't be changed.
>
> Another way around the problem would be to make scp write to a temporary
> file and then do a rename() as the last step. This would prevent people
> from clobbering files.
I the file has links, that will break them.
>
> -d
>
>
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the openssh-unix-dev
mailing list