Samba SMB share hosted on Debian Jessie in a private home network setup.Can connect to share, open files and copy files to / from share OK.Attempting to make any changes to a file on the share (example: edit a text document) results in ALL CONTENT OF THE FILE ERASED. File itself remains on share but with file size of 0.Shared directory on the server has permissions 775.Have tried chown combinations of root:root and root:users without success.Settings smb.conf for share sets both writable=yes and browsable=yes. Have tried combinations of force user, force group and create mask without success.Using:security = userencrypt passwords = trueobey pam restrictions = yesunix password sync = yesEDIT:I seem to have narrowed down the issue to Leafpad, specifically. Other apps seem to be able to edit documents on the share OK. Ironically, I was using Leafpad as the simplest tool to test opening and editing.
Samba erases content of files when saving
debian;samba