id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4166	dataloss: mcedit save of existing file on full sshfs file system causes empty file	baryluk		"I don't how this happened, I am using 3:4.8.25-1 from Debian testing.

Never happened to me before in last 15 years.

I had sshfs filesystem mounted, and for external reasons (a background deamon) it got full.

I was editing a file, about 200 lines of code. I tried to save, and it failed. I exited, and reopened file again. It was empty. Few hours of work lost.

This is a critical flaw. There was no backup file, no atomic rename for save either.


Maybe it was something to do with mount options, I don't know.
sshfs -o cache_timeout=360 -o cache_stat_timeout=360 -o entry_timeout=240 -o negative_timeout=200 -o kernel_cache -o workaround=none -o cache_max_size=100000000 -o reconnect


But, mcedit recognized the error it can't save, so while the original data disappeared?
"	defect	reopened	critical	Future Releases	mcedit	4.8.25						no branch	
