I have the same issue while editing files with SFTP over Nautilus and all my EDI (Geany, Gedit and also Eclipse). When i save the file weight is 0ko and of course empty. That make me lost a lot of time to restore backup over VIM in a shell.
I tested it with a fresh Ubuntu 10.10 stable release no extra package with all my webserver with correct chmod/chown even in chmod 0777.
I have the same issue while editing files with SFTP over Nautilus and all my EDI (Geany, Gedit and also Eclipse). When i save the file weight is 0ko and of course empty. That make me lost a lot of time to restore backup over VIM in a shell.
I tested it with a fresh Ubuntu 10.10 stable release no extra package with all my webserver with correct chmod/chown even in chmod 0777.
Nicolas BONNICI