Debian Bug report logs -
#473137
scp: misleading error message when copying to a non-existent target directory
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#473137; Package openssh-client.
(full text, mbox, link).
Acknowledgement sent to Mair A-W <mair+debian@maircrosoft.com>:
New Bug report received and forwarded. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#473137; Package openssh-client.
(Sat, 06 Dec 2008 22:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Raoul Bhatia [IPAX]" <r.bhatia@ipax.at>:
Extra info received and forwarded to list. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>.
(Sat, 06 Dec 2008 22:42:05 GMT) (full text, mbox, link).
Message #10 received at 473137@bugs.debian.org (full text, mbox, reply):
Package: openssh-client
Version: 1:5.1p1-3
Severity: wishlist
confirming that this bug still exists on the current package for
debian testing/lenny.
> root@s1 /etc/snmp # sh s2 "ls /etc/snmp/"
> sh: s2: No such file or directory
ok - this is expected.
> root@s1 /etc/snmp # scp *local* s2:/etc/snmp/
> scp: /etc/snmp/: Is a directory
misleading error message
cheers,
raoul
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#473137; Package openssh-client.
(Fri, 27 Jun 2014 11:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Stephane Ascoet <Stephane.Ascoet@ac-orleans-tours.fr>:
Extra info received and forwarded to list. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>.
(Fri, 27 Jun 2014 11:51:05 GMT) (full text, mbox, link).
Message #15 received at 473137@bugs.debian.org (full text, mbox, reply):
Hi, 527288 is a duplicate of this one.
--
Sincerely, Stephane Ascoet
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#473137; Package openssh-client.
(Fri, 27 Jun 2014 12:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>.
(Fri, 27 Jun 2014 12:03:04 GMT) (full text, mbox, link).
Message #20 received at 473137@bugs.debian.org (full text, mbox, reply):
Control: severity -1 minor
Control: forcemerge -1 527288
On Fri, Jun 27, 2014 at 01:20:58PM +0200, Stephane Ascoet wrote:
> Hi, 527288 is a duplicate of this one.
Merging, thanks.
--
Colin Watson [cjwatson@debian.org]
Severity set to 'minor' from 'wishlist'
Request was from Colin Watson <cjwatson@debian.org>
to 473137-submit@bugs.debian.org.
(Fri, 27 Jun 2014 12:03:04 GMT) (full text, mbox, link).
Marked as found in versions openssh/1:5.1p1-5.
Request was from Colin Watson <cjwatson@debian.org>
to 473137-submit@bugs.debian.org.
(Fri, 27 Jun 2014 12:03:05 GMT) (full text, mbox, link).
Merged 473137 527288
Request was from Colin Watson <cjwatson@debian.org>
to 473137-submit@bugs.debian.org.
(Fri, 27 Jun 2014 12:03:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#473137; Package openssh-client.
(Mon, 30 Jun 2014 13:36:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Stephane Ascoet <Stephane.Ascoet@ac-orleans-tours.fr>:
Extra info received and forwarded to list. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>.
(Mon, 30 Jun 2014 13:36:05 GMT) (full text, mbox, link).
Message #31 received at 473137@bugs.debian.org (full text, mbox, reply):
Hi, I got same error when doing a "test -d" on a path that didn't exist so I wonder if it can be related to the fact that test would
be the one sending this message?
--
Bien cordialement, Stephane Ascoet
Marked as found in versions openssh/1:7.1p2-2.
Request was from Colin Watson <cjwatson@debian.org>
to control@bugs.debian.org.
(Sun, 07 Feb 2016 18:06:10 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#473137; Package openssh-client.
(Sun, 27 Aug 2017 06:09:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Karl Schmidt <karl@xtronics.com>:
Extra info received and forwarded to list. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>.
(Sun, 27 Aug 2017 06:09:02 GMT) (full text, mbox, link).
Message #40 received at 473137@bugs.debian.org (full text, mbox, reply):
Getting close to a decade.
https://bugzilla.redhat.com/show_bug.cgi?id=1142223
The correct text would be "target directory does not exist."
More sad tails at https://www.google.com/search?q=scp+directory+error
--
--------------------------------------------------------------------------------
Karl Schmidt EMail Karl@xtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049
A penny saved is a tax-free penny earned. -kps
--------------------------------------------------------------------------------
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Mar 25 18:42:00 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.