[Libreoffice-bugs] [Bug 109520] "General input/output" opening a file through a symlink to a GVfs mount

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 14 07:46:53 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=109520

--- Comment #7 from H. C. <documentfoundation at mail.niknah.com> ---
Libreoffice opens the file with O_RDWR.  Gvfs mounts only support opening files
with O_TRUNC or O_APPEND.  But not O_RDWR by itself.

See...

https://bugzilla.gnome.org/show_bug.cgi?id=748106
https://bugzilla.gnome.org/show_bug.cgi?id=777152

You will get an "operating not permitted" error which shows up in libreoffice
as "general input/output error".

Some file managers default to opening gvfs files from /run/user/... because
most older or simple programs don't support opening files with gvfs URLs, they
only support normal file names.



Backtrace just dropped me off to an empty gdb shell.  But I found this out by
using --strace.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180314/481add84/attachment-0001.html>


More information about the Libreoffice-bugs mailing list