[arch-general] no write access to gvfs-mount with certain applications
Hi, I have a strange problem with gvfs mounts with the SMB/CIFS backend. Both packages are in the latest version 1.24.1-1. The smb shares are mounted with nautilus. The neccessary credentials are stored in the gnome-keyring. I can open / read and write files with LibreOffice and gedit. There is also no problem when accessing / creating files with the terminal and vi. But when I try to open a library with calibre the application tells me, that the database is read only. The access rights of the library files are all rwx and i can create files in the directory with for example touch or gedit. As fare as i can remember the (write) access with calibre worked before the update of the latest gnome version. Does anybody has suggestions how to solve this problem? Sebastian -- *Sebastian Hempel* eMail: sebastian@hempel-roeslau.de GnuPG Fingerprint: 9396 67A0 D3F3 6EBB BD7C 783D 34D8 65FE 9EB7 B49F Twitter: https://twitter.com/ithempel
On Sun, Apr 26, 2015 at 8:31 AM, Sebastian Hempel < sebastian@hempel-roeslau.de> wrote:
Hi,
I have a strange problem with gvfs mounts with the SMB/CIFS backend. Both packages are in the latest version 1.24.1-1.
The smb shares are mounted with nautilus. The neccessary credentials are stored in the gnome-keyring. I can open / read and write files with LibreOffice and gedit. There is also no problem when accessing / creating files with the terminal and vi.
But when I try to open a library with calibre the application tells me, that the database is read only. The access rights of the library files are all rwx and i can create files in the directory with for example touch or gedit.
As fare as i can remember the (write) access with calibre worked before the update of the latest gnome version.
Does anybody has suggestions how to solve this problem?
Official FAQ on using calibre with a NAS: http://manual.calibre-ebook.com/faq.html#i-am-getting-errors-with-my-calibre... tl;dr -- don't. calibre has never supported networked libraries, and although some people have gotten it working, there is no particular reason -- it seems to work sometimes, and sometimes not. Often people come to the support forums complaining that what once worked, stopped working "for no reason whatsoever". Your situation is not even slightly uncommon. My usual recommendation is, if it is really important to have a networked copy, use rsync to mirror your calibre library on your networked filesystem. That being said, you can always try. :) One thread that discusses the issue: http://www.mobileread.com/forums/showthread.php?t=218463 Problems include inconsistent support for file locking and hardlinks (file operations are atomic). Perhaps you will hit upon the magic combination. -- Eli Schwartz
Hi,
Your situation is not even slightly uncommon. My usual recommendation is, if it is really important to have a networked copy, use rsync to mirror your calibre library on your networked filesystem.
That sounds like a good solution. So I had the luck, that my calibre library worked on a nas for about half a year. Not to bad for the problems you described. :-)
Problems include inconsistent support for file locking and hardlinks (file operations are atomic).
Oh, that remembers me about crappy windows software not running on a samba share. There optimistic locking and other technics lead to the same problems. So I will switch my library back to the local drive and run a script to syncronize it with rsync to the server. Tanks! Sebastian -- *Sebastian Hempel* Veilchenweg 4 · 95195 Röslau · Germany eMail: sebastian@hempel-roeslau.de GnuPG Fingerprint: 9396 67A0 D3F3 6EBB BD7C 783D 34D8 65FE 9EB7 B49F Twitter: https://twitter.com/ithempel
participants (2)
-
Eli Schwartz
-
Sebastian Hempel