Public bug reported: Whenever you edit a text file on an SMB share, leafpad erases the entire file instead of saving your edits. I mention this to the lubuntu group, since leafpad is the default program associated with file extensions such as .txt and thus very likely to be where new users start editing such files. But in fact, they will be silently erasing those files contents. No other applications seem to have this problem over the SMB share, and I tested to 2 different smb shares, one a NAS4Free server running samba, the other a commercial NAS .
As a work around I uninstalled leafpad and installed mousepad, then associated files types with mousepad. I encourage the lubuntu group to look into fixing this issue in Leafpad, or switching the default graphical text editor to something else. sudo apt-get remove leafpad sudo apt-get install mousepad Leafpad doesn't seem to be under much development lately, though I have not contacted the author: http://tarot.freeshell.org/leafpad/ Others have noticed this problem with leafpad in general: FS#44681 - [leafpad] wipest content of text files on smb when saving https://bugs.archlinux.org/task/44681 Samba erases content of files when saving http://unix.stackexchange.com/questi...es-when-saving I am happy to help test this problem further, just drop me a line. If there is a better place for me to post this info / request let me know. Mark Bertolina ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: leafpad 0.8.18.1-4 ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1 Uname: Linux 4.2.0-27-generic x86_64 ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 Date: Thu Feb 4 18:29:30 2016 ProcEnviron: LANGUAGE=en_US TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: leafpad UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: leafpad (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1542096 Title: leafpad erases files over SMB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/leafpad/+bug/1542096/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
