Using samba share for gnucash files causes data loss

Derek Atkins warlord at MIT.EDU
Tue May 17 12:23:40 EDT 2005


I believe that locking code HAS been somewhat changed recently,
but there has always been strange problems using SMB.  Feel free
to send in a patch that corrects the problem.


Manfred Usselmann <usselmann.m at> writes:

> Hello,
> I try to use Gnucash 1.8.9 under Ubuntu (No newer version available,
> which is unfortunate because I would like to use HBCI PIN/TAN).
> The files are stored on a Samba share which is mounted with fstype cifs.
> Wenn I try to open the files I get the error message 'Could not optain
> the lock for ...'. When I open the file anyhow it gets deleted during
> saving. Creating a new file is not possible as well. Same problem when
> using fstype smbfs instead of cifs.
> Is there a specific problem with storing the Gnucash files on a Samba
> server? A while ago (until mid of 2003) I used this configuration
> without problems. Maybe the locking code has been changed?
> Is there a way to get this working?
> Regards,
> Manfred

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list