For reference, I think, the following reports highlight the root cause(s):
#680418 - gvfs-fuse: Wrongly sucessful posix fwrite call on a gvfs sftp mount can lead to data loss https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680418
1295007 – Non-GIO (POSIX) API call to save data truncates file to 0 bytes https://bugzilla.redhat.com/show_bug.cgi?id=1295007
However, it seems that Leafpad is one of only a few applications where the bug triggers. Off the top of my head I only know Leafpad and L3afpad.
For reference, I think, the following reports highlight the root cause(s):
#680418 - gvfs-fuse: Wrongly sucessful posix fwrite call on a gvfs sftp mount can lead to data loss /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 680418
https:/
1295007 – Non-GIO (POSIX) API call to save data truncates file to 0 bytes /bugzilla. redhat. com/show_ bug.cgi? id=1295007
https:/
However, it seems that Leafpad is one of only a few applications where the bug triggers. Off the top of my head I only know Leafpad and L3afpad.