On Fri, Jul 18, 2014 at 11:49:04PM -0500, Steve French wrote: > Windows shrinks the file (unlike Linux) when you do the allocate > before end of file, but when I tried the same call to > Samba it seemed to ignore it, return success and leave > file size alone. That's a bug - the code does use ftruncate if the new allocated size is less than file size. Can you send me a wireshark trace of what you're sending please ? -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html