Bug#473137: scp: misleading error message when copying to a non-existent target directory
Package: openssh-client
Version: 1:4.3p2-9
Severity: wishlist
When copying a file to a remote directory which does not exist, the
error message "Is a directory" is misleading and can be confusing to
users. For example,
(no /www/tmp/ directory on maircrosoft.com)
$ scp interesting/story maircrosoft.com:/www/tmp/
scp: /www/tmp/: Is a directory
really means "Is *not* a directory" ...
A better message might be along the lines of "[Directory] does not
exist and cannot rename a file to [Directory] as [Directory] may only
be the name of a directory"
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages openssh-client depends on:
ii add 3.102 Add and remove users and
groups ii deb 1.5.11etch1 Debian
configuration management sy ii dpk
1.13.25 package maintenance system for Deb
ii lib 2.3.6.ds1-13etch5 GNU C Library: Shared
libraries ii lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 common error
description library ii lib 2.9.cvs.20050518-2.2 BSD
editline and history libraries ii lib
1.4.4-7etch4 MIT Kerberos runtime libraries ii
lib 5.5-5 Shared libraries for terminal
hand ii lib 0.9.8c-4etch1 SSL shared libraries
ii pas 1:4.0.18.1-7 change and administer
password and
ii zli 1:1.2.3-13 compression library -
runtime
openssh-client recommends no packages.
-- no debconf information
--
I am a happy person
Reply to: