[Bug 18757] Re: scp gets confused when destination directory is missing.
Łukasz Zaroda
lukenuke at o2.pl
Mon Apr 29 11:42:44 UTC 2013
This bug is still here on 12.04 Precise Pangolin. It's quite annoying.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/18757
Title:
scp gets confused when destination directory is missing.
Status in Portable OpenSSH:
Unknown
Status in “openssh” package in Ubuntu:
Triaged
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:/tmp/test/not-a-dir/
user at localhost's password:
scp: /tmp/test/not-a-dir/: Is a directory
% scp foo localhost:/tmp/test/not-a-dir
user at 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"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/18757/+subscriptions
More information about the foundations-bugs
mailing list