The Samba-Bugzilla – Bug 3045
smbclient tar creation does not handle well write errors
Last modified: 2005-08-26 05:29:28 UTC
smbclient //machine/res pass -U user -Tc /smallfs/test.tar
does not handle well error on writing to file (or tape device).
If the filesystem becomes FULL while write test.tar file:
* In this case, the return code of smclient is 0, which is not right since an
* smbclient logs "Error writing to tar file - No space left on device
Didn't get entire file. size=xxx, nread=yyy", but still continue to "download"
files from CIFS ressource. Annoying (waste time and cpu).
This happens (at least) with:
- samba-3.0.5/Linux RedHat 9.0/x86,
Since these releases, the corresponding source code
"trunk/source/client/clitar.c" does not seem to have changed in this way since