GNOME Bugzilla – Bug 405472
Unable to save changes on files opened over FUSE and sshfs
Last modified: 2018-06-29 21:25:57 UTC
I am using Ubunty Edgy (v6.1) with GnuCash 2.0.1. I am using FUSE (file system in user space) with the 'sshfs' module to mount a remote directly on my local workstation. I copied a gnucash file to that remote directory, then right-clicked on the file and selected the 'Open with GnuCash...' option. At the time of opening, I am presented with a warning dialog that states that 'GnuCash was unable to obtain a lock on the file'. I press the 'Open anyways' button. I then make a change, and press the 'Save' button. The status area in the lower right corner indicates that 'Writing...' is in progress. No error messages are displayed. I then quit/exit GnuCash. On the FUSE/sshfs-mounted drive, the gnucash file is now gone and only a file.date.log file is present. Full version information: The GnuCash personal finance manager. The GNU way to manage your money! This copy was built from r14585 on 2006-09-21.
Related: bug#105669
Created attachment 107522 [details] [review] Patch to disable hardlinks on sshfs filesystems This patch resolves the issue for me...
I can verify this behaviour with r16997
Committed to trunk, r17726, awaiting back-port. Thanks a lot!
Committed to 2.2 branch, r17755. Thanks a lot!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=405472. Please update any external references or bookmarks.