bugzilla-daemon at mindrot.org
2006-Oct-20 22:46 UTC
[Bug 1252] sftp returns 0 when upload is unsuccessful due to a full device
http://bugzilla.mindrot.org/show_bug.cgi?id=1252
Summary: sftp returns 0 when upload is unsuccessful due to a full
device
Product: Portable OpenSSH
Version: 4.2p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sftp
AssignedTo: bitbucket at mindrot.org
ReportedBy: jirkat at atlas.cz
when trying to upload a file via sftp and the disk on the server
is full, sftp returns succes (0) although it should return non-zero
code.
repeatable on:
linux 2.6.1x ix86,OpenSSH_4.0p1,OpenSSH_4.2p1
the cause may be the same as in bug 773
$ sftp localhost
Connecting to localhost...
sftp> cd /tmp/full
sftp> put my.img
Uploading my.img to /tmp/pokus/my.img
my.img 0% 0
0.0KB/s --:-- ETACouldn't write to remote file
"/tmp/full/my.img":
Failure
-2147483648% 11449TB 31.1MB/s
$ echo $?
0
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- I have problem and/or not fully underestand rails --svn
- [Bug 1131] buffer_append_space: alloc not supported Error with V 4.2p1
- DO NOT REPLY [Bug 7618] New: symlinks and --link-dest
- [Bug 1230] filename escaping of brackets in sftp
- [Bug 1252] sftp returns 0 when upload is unsuccessful due to a full device
