Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 53489 - [RFE] confusing error message when scp to non-existant dir
[RFE] confusing error message when scp to non-existant dir
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Tomas Mraz
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2001-09-10 10:10 EDT by James Manning
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-31 06:54:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Manning 2001-09-10 10:10:47 EDT
Description of Problem:
trying to scp to non-existant remote dir, confusing error message "Is a 
directory" instead of something like "No such file or directory"

jmm@jmm:/tmp> scp x.x localhost:/tmp/f00bar/
jmm@localhost's password:
scp: /tmp/f00bar/: Is a directory

Version-Release number of selected component (if applicable):
jmm@jmm:/tmp> rpm -qf $(which scp)

How Reproducible:
Comment 1 James Manning 2002-05-17 12:43:18 EDT
still present in 7.3

jmm@jmm /tmp> rpm -qf $(which scp)
jmm@jmm /tmp> touch x.x
jmm@jmm /tmp> ls -ld /tmp/fooadf
ls: /tmp/fooadf: No such file or directory
jmm@jmm /tmp> scp x.x localhost:/tmp/fooadf/
jmm@localhost's password:
scp: /tmp/fooadf/: Is a directory
Comment 2 Tomas Mraz 2005-03-31 06:54:37 EST
Report the bug upstream into http://bugzilla.mindrot.org/

Note You need to log in before you can comment on or make changes to this bug.