On Mon, Nov 12, 2007 at 06:33:54PM +0000, Colin Watson wrote: > To openssh-unix-dev: does anyone think this is worth a workaround? Gut feeling is that it should be fixed wherever the problem is. > The ftruncate seems rather unnecessary if we've already written out > the required number of bytes anyway. Not neccessarily, we may be overwriting a larger file with the same name. //Peter