[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-unix-dev
Subject:    Re: Detection of identical file doesn't work for localhost:
From:       Darren Moffat <Darren.Moffat () eng ! sun ! com>
Date:       2001-01-30 17:32:39
[Download RAW message or body]

>>(Why on earth would anybody do an "scp localhost:..." in the first place?)
>
>Why? Well, one reason would be to copy from a chroot()ed environment
>back to the real host, of course... Probably not, but it is possible.
>There is no guarentee that localhost:/some/directory is in the same
>filesystem as /some/directory on the current machine as viewed by
>the currently running scp program.

But if that is the case then the reported problem doesn't occur because
the source and destination are different.

A check like this is likely to do more harm than good, just to fix one
or two edge cases where the user did something strange and didn't like
what they got.



--
Darren J Moffat

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic