Bug 116317 - Encfs files stopped to be readable since Libre office 5.4.5 and 6.0.0
Summary: Encfs files stopped to be readable since Libre office 5.4.5 and 6.0.0
Status: CLOSED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.5.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-09 15:24 UTC by Tomas Lipensky
Modified: 2018-03-23 08:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Lipensky 2018-03-09 15:24:02 UTC
Description:
I'm able to browse mounted encfs mountpoints and open any document by LibreOffice 5.4.4 and lower. In version 5.4.5 no file can be open in encfs filesyste, browsing of encfs directories works.
In version 6.0.0 even the browsing is impossible.

I'm on Ubuntu 16.04.4 LTS, kernel 4.13.0-36-generic
encfs version: 1.8.1-3  amd64

Impacting Writer, Impress, Calc, I didn't test other components

Steps to Reproduce:
1. Install LibreOffice 5.4.5 or 6.0.0 on Ubuntu
2. install encfs, create and mount encfs FS to directry, for example /mnt/encfs
3. copy any document there
4. try to open the document by Libreoffice (writer, ...)
3a. alternatively "save as" any documet by libreoffice to /mnt/encfs

Actual Results:  
Error that the file is not readable (rights are OK, i can access it any other program, mainly by older version of LibreOffice)

Expected Results:
LibreOffice can handle the encfs mounted filesystems and files there


Reproducible: Always


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.189 Safari/537.36 Vivaldi/1.95.1077.55
Comment 1 Aron Budea 2018-03-09 18:43:34 UTC
No error here when accessing documents from an encfs mount point with LO 5.4.5.1 / Ubuntu 17.10.
Comment 2 Aron Budea 2018-03-09 19:52:25 UTC
Note that there was an issue related to AppArmor in some downstream releases, ie. read bug 98776 comment 40.
Comment 3 Buovjaga 2018-03-11 14:35:20 UTC
(In reply to Aron Budea from comment #2)
> Note that there was an issue related to AppArmor in some downstream
> releases, ie. read bug 98776 comment 40.

I think that only affected 17.10, though.

It's worth a shot trying with an appimage: https://www.libreoffice.org/download/appimage
Comment 4 Tomas Lipensky 2018-03-23 07:50:53 UTC
Thank you for your feedback and advice. It really works.

It means it must be a combination of OS libraries (in Ubuntu 16.04) and LibreOffice (LO) version, like LO in older version calls an one object in OS library which works with OS, LO in new version calls different object OS libraries which has a bug. In case of AppImage the different object is embedded in the AppImage. Do I understand well? Or maybe some older part of LO stays installed and used by new LO?
Comment 5 Buovjaga 2018-03-23 08:16:34 UTC
Yep, something like that. Let's close.
Comment 6 Tomas Lipensky 2018-03-23 08:27:38 UTC
Thanks a lot.