[lubuntu-devel] volunteers to confirm bug - leafpad erases files over SMB
Mark V. Bertolina (cpunet)
mark at bertolina.org
Mon Feb 8 19:28:04 UTC 2016
Hello, can anyone help to confirm this bug is generally an issues and not just something I am seeing? It is particularly troublesome for mixed environments where some SMB file servers exist.
https://bugs.launchpad.net/ubuntu/+source/leafpad/+bug/1542096
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
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)
Appreciate anyone who volunteers their time to add to that above bug,
- --
§ Mark Bertolina - mark at bertolina.org §
- --
More information about the Lubuntu-devel
mailing list