scp gets confused when destination directory is missing.
Bug #18757 reported by
Sami Haahtinen
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portable OpenSSH |
Unknown
|
Unknown
|
|||
openssh (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
It appears that scp gets confused if one tries to copy a file in to a missing
directory:
% pwd
/tmp/test
% touch foo
% ls
foo
% scp foo localhost:
user@localhost's password:
scp: /tmp/test/
% scp foo localhost:
user@localhost's password:
foo 100% 0 0.0KB/s 00:00
% ls
foo not-a-dir
%
above, the error in question should be "Directory does not exist" instead of "Is
a directory"
Changed in openssh: | |
assignee: | kamion → nobody |
Changed in openssh: | |
assignee: | nobody → nxvl |
Changed in openssh: | |
assignee: | nxvl → nobody |
To post a comment you must log in.
Hm... Or it tells you can't copy a file and make it a directory?