Description of problem: Files uploaded to CIFS file system are corrupted. Blocks of data are interleaved with blocks of zero bytes. Blocks are always multiples of kilobytes, e.g. 36B of data, 4B of \0, 4B of data, 8B of \0, and so on. CIFS partition is mounted with default options. Files copied directly or uploaded over SCP are fine. Example file is attached. Version-Release number of selected component (if applicable): vsftpd 2.0.5-2 Linux <hostname> 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007 i686 GNU/Linux Debian GNU/Linux etch (stable) How reproducible: Upload file larger than a few kilobytes to a CIFS-mounted partition. Reproducible with at least these FTP clients: gFTP, Filezilla. Additional info: Problem can be avoided by setting nobrl option of mount.cifs as suggested by brigman on comp.os.linux.networking; http://groups.google.com/group/comp.os.linux.networking/browse_thread/thread/5b2228ee622eb623. From mount.cifs(8): nobrl Do not send byte range lock requests to the server. This is nec- essary for certain applications that break with cifs style mandatory byte range locks (and most cifs servers do not yet support requesting advisory byte range locks). If not fixed it should be at least mentioned in vsftpd.conf(5) man page.
Created attachment 301314 [details] Corrupted uploaded file
Sorry, but this is not specific to Fedora. If you want to get this fixed I suggest that you contact the vsftpd maintainer. Hence closing this bug with a resolution of NOTABUG.