--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: can't open files on gnome VFS (input/output error)
- From: Matus UHLAR - fantomas <uhlar@fantomas.sk>
- Date: Tue, 8 Aug 2017 14:01:35 +0200
- Message-id: <20170808120135.GA23595@fantomas.sk>
Package: libreoffice
Version: 1:5.2.7-1
when I access samba share using gnome VFS, opening files there exits with
error:
General input/output error while accessing
/run/user/1006/gvfs/...path.../HW.xls.
Tried with .odt and .xls.
I can see files there directly, I can save new file using libreoffice, but
opening it back produces this error.
This seems to be error in libreoffice with patch pushed.
https://bugs.documentfoundation.org/show_bug.cgi?id=59424
tdf#59424 unset open flag O_EXCL if O_CREAT is not set
looking at locally-generated strace confirms this issue:
14363 13:24:49.170594 access("/run/user/1006/gvfs/...path.../servery HW.xls", F_OK) = 0
14363 13:24:49.184519 lstat("/run/user/1006/gvfs/...path.../servery HW.xls", {st_mode=S_IFREG|0700, st_size=25088, ...}) = 0
14363 13:24:49.184828 open("/run/user/1006/gvfs/...path.../servery HW.xls", O_RDWR|O_EXCL) = -1 EOPNOTSUPP (Operation not supported)
14363 13:24:49.186303 access("/run/user/1006/gvfs/...path.../servery HW.xls", F_OK) = 0
14363 13:24:49.187704 lstat("/run/user/1006/gvfs/...path.../servery HW.xls", {st_mode=S_IFREG|0700, st_size=25088, ...}) = 0
It's possible to open files via libreoffice "Remote files" functionality by
mapping user share, but it's an ugly workaround...
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Honk if you love peace and quiet.
--- End Message ---