After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 405472 - Unable to save changes on files opened over FUSE and sshfs
Unable to save changes on files opened over FUSE and sshfs
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: General
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks: backport
 
 
Reported: 2007-02-07 18:45 UTC by Jason L. Buberel
Modified: 2018-06-29 21:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to disable hardlinks on sshfs filesystems (904 bytes, patch)
2008-03-18 11:04 UTC, dhx
committed Details | Review

Description Jason L. Buberel 2007-02-07 18:45:07 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.
Comment 1 Christian Stimming 2007-02-08 08:58:58 UTC
Related: bug#105669
Comment 2 dhx 2008-03-18 11:04:02 UTC
Created attachment 107522 [details] [review]
Patch to disable hardlinks on sshfs filesystems

This patch resolves the issue for me...
Comment 3 Rolf Leggewie 2008-06-20 22:13:53 UTC
I can verify this behaviour with r16997
Comment 4 Christian Stimming 2008-11-26 21:24:21 UTC
Committed to trunk, r17726, awaiting back-port. Thanks a lot!
Comment 5 Christian Stimming 2008-12-06 22:09:28 UTC
Committed to 2.2 branch, r17755. Thanks a lot!
Comment 6 John Ralls 2018-06-29 21:25:57 UTC
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.