bugzilla-daemon at mindrot.org
2013-Sep-10 21:56 UTC
[Bug 2150] New: Recursive upload expects target directory to already exist
https://bugzilla.mindrot.org/show_bug.cgi?id=2150
Bug ID: 2150
Summary: Recursive upload expects target directory to already
exist
Product: Portable OpenSSH
Version: -current
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: sftp
Assignee: unassigned-bugs at mindrot.org
Reporter: imorgan at nas.nasa.gov
The "put -r" support in sftp(1) expects a directory with the same name
as teh source directory to exist on the server prior to the upload.
That
is contrary to the behaviour of "scp -r" and is thus unexpected. It is
also contrary to the behaviour of "get -r."
sftp> cd test
sftp> lcd /etc
sftp> ls
sftp> put -r sasl2
Uploading sasl2/ to /u1/imorgan/test/sasl2
Couldn't canonicalise: No such file or directory
Unable to canonicalise path "/u1/imorgan/test/sasl2"
sftp>
sftp> mkdir sasl2
sftp> put -r sasl2
Uploading sasl2/ to /u1/imorgan/test/sasl2
sasl2/libvirt.conf
100% 1161 1.1KB/s 00:00
sasl2/smtpd.conf
100% 49 0.1KB/s 00:00
sasl2/Sendmail.conf
100% 25 0.0KB/s 00:00
sftp>
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2014-Jul-03 03:27 UTC
[Bug 2150] Recursive upload expects target directory to already exist
https://bugzilla.mindrot.org/show_bug.cgi?id=2150
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |parke.nexus at gmail.com
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
*** Bug 2230 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Jan-26 20:23 UTC
[Bug 2150] Recursive upload expects target directory to already exist
https://bugzilla.mindrot.org/show_bug.cgi?id=2150
Ammon <i589kvp1hf at kraqer.e4ward.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |i589kvp1hf at kraqer.e4ward.co
| |m
--- Comment #2 from Ammon <i589kvp1hf at kraqer.e4ward.com> ---
"put -r" is completely broken and will not recurse
sftp> put -r olds/* olds/
Uploading olds/2013/ to /nfs/bronfs/uwfs/dw00/d12/ammon0/olds/2013
Entering olds/2013/
Uploading olds/2014/ to /nfs/bronfs/uwfs/dw00/d12/ammon0/olds/2014
Entering olds/2014/
Uploading olds/2015/ to /nfs/bronfs/uwfs/dw00/d12/ammon0/olds/2015
Entering olds/2015/
Uploading olds/2016/ to /nfs/bronfs/uwfs/dw00/d12/ammon0/olds/2016
Entering olds/2016/
each of these directories has multiple entries but none were uploaded
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Jan-26 20:45 UTC
[Bug 2150] Recursive upload completely non-functional
https://bugzilla.mindrot.org/show_bug.cgi?id=2150
Ammon <i589kvp1hf at kraqer.e4ward.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |amd64
OS|All |Linux
Version|-current |6.9p1
Summary|Recursive upload expects |Recursive upload completely
|target directory to already |non-functional
|exist |
--- Comment #3 from Ammon <i589kvp1hf at kraqer.e4ward.com> ---
Version information:
$ apt-cache policy openssh-client
openssh-client:
Installed: 1:6.9p1-2ubuntu0.1
Candidate: 1:6.9p1-2ubuntu0.1
Version table:
*** 1:6.9p1-2ubuntu0.1 0
500 http://us.archive.ubuntu.com/ubuntu/ wily-updates/main
amd64 Packages
500 http://security.ubuntu.com/ubuntu/ wily-security/main amd64
Packages
100 /var/lib/dpkg/status
1:6.9p1-2 0
500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64
Packages
I will also be reporting this on launchpad.net
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Jan-27 23:25 UTC
[Bug 2150] Recursive upload expects target directory to already exist
https://bugzilla.mindrot.org/show_bug.cgi?id=2150
Iain Morgan <imorgan at nas.nasa.gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|6.9p1 |-current
Hardware|amd64 |All
OS|Linux |All
Summary|Recursive upload completely |Recursive upload expects
|non-functional |target directory to already
| |exist
--- Comment #4 from Iain Morgan <imorgan at nas.nasa.gov> ---
Restore bug to correct state.
This is a general, platform-independent issue that affects multiple
versions of OpenSSH, including -current. It doesn't seem appropriate to
me to alter this bug to imply that it is relevant to a specific
release,
operating system, or hardware.
Feel free to add supporting attachments, proposed fixes, relevant
comments on the issue, but please don't try to take over someone else's
but.
As to the claim of "completely non-functional" made in the egregious
change to the summary, it would have been appropriate to have included
some evidence of that as an attachment. In my experience, recursive
upload works -- provided that the target directory exists.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Jan-28 01:01 UTC
[Bug 2150] Recursive upload expects target directory to already exist
https://bugzilla.mindrot.org/show_bug.cgi?id=2150 --- Comment #5 from Ammon <i589kvp1hf at kraqer.e4ward.com> --- Please forgive the various mistakes I made. In my defence, if the information on this page was not meant to be edited by the public then it should not be able to be edited by the public. I will not waste time with reasoning or justifications. In any case, the fact that "put -r /stuff/*" fails to recurse into sub-directories is evident by the terminal output I submitted in comment #2. If you have not experienced this then I suspect that the issue is separate: platform and/or version specific. In this case am I to understand that I should submit a separate bug report? -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Aug-13 04:16 UTC
[Bug 2150] Recursive upload expects target directory to already exist
https://bugzilla.mindrot.org/show_bug.cgi?id=2150
linuxwebdeveloper at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |linuxwebdeveloper at gmail.com
--
You are receiving this mail because:
You are watching the assignee of the bug.