On Wed, Jan 11, 2012 at 2:17 AM, Tom <t...@limepepper.co.uk> wrote:
>
> The server intermittently zeroes out the files, either geany/gedit offers a
> reload (which I have learned is a no-no) and the file reloaded is empty. I
> thought it might be something to do with gtk temp files, but it is
> replicable with vi or kate.

I can't help with what is going wrong, but vi will do your edit in a
tmp file copy, then truncate and overwrite your original file so as to
keep the original owner/modes which you might not be able to
reproduce.  So the truncate is normal but it should be followed by
writing new contents.

-- 
  Les Mikesell
    lesmikes...@gmail.com

Reply via email to