Package: libreoffice
Version: 1:5.2.7-1

when I access samba share using gnome VFS, opening files there exits with

General input/output error while accessing

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.

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, ;
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.

Reply via email to