[Bug 3431] scp truncates file when copying file over itself

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri May 13 13:10:49 AEST 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3431

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org,
                   |                            |dtucker at dtucker.net
   Attachment #3594|                            |ok?(dtucker at dtucker.net)
              Flags|                            |

--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Created attachment 3594
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3594&action=edit
don't overwrite files

This fixes it for 'scp foo localhost:foo' and 'scp localhost:foo foo',
but not 'scp localhost:foo localhost:foo'

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list