On Wed, Aug 27, 2008 at 01:02:56PM -0700, Thomas Bushnell BSG wrote:
> > I was trying to use gnucash over sshfs, to allow several machines to
> > handle the same file.  It complained that it was unable to get a lock,
> > and so couldn't prevent simultaneous writes.  This was no problem,
> > because there isn't another person working on them.  For the rest,
> > everything seemed to work fine.
> > 
> > However, when trying to reopen the file, I found that it had not been
> > written, but instead it was deleted.  So not only did I lose the work of
> > the session, but it actually deleted my previous work as well.
> 
> Are you sure this isn't a bug in sshfs?

No, I'm not sure about that.  But from gnucash's behaviour, it seems
that sshfs doesn't support locking (which I suppose is a known missing
feature, but I didn't check), and gnucash handles that situation very
badly.

It is possible that the entire problem is with sshfs.  More testing
would be needed to find that out, either with trying to lock files on
sshfs, or with gnucash on other filesystems which don't support locking.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://a82-93-13-222.adsl.xs4all.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature

Reply via email to