[Bug 1204] scp doesn't check that target is a directory

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 28 23:57:57 EST 2006


http://bugzilla.mindrot.org/show_bug.cgi?id=1204

           Summary: scp doesn't check that target is a directory
           Product: Portable OpenSSH
           Version: 4.2p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: scp
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: bradford.smith at usermail.com


If a, b, c and d are all local files and I execute:

scp a b c d

I expect scp to fail because d is not a directory.  Instead, scp
executes:

cp a d
cp b d
cp c d

Overwriting d three times.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list