Description: For some reason, LibreOffice seems to be unable to open files that are owned by a different user, regardless of the file permissions (tested with calc, writer and impress). I came across https://ask.libreoffice.org/en/question/137872/libreoffice-wont-open-files-i-dont-own/ who seems to have the same problem but no solution... Steps to Reproduce: 1. create a new LibreOffice file 2. write some test text and save it somewhere you are sure of having all the required permissions (e.g. your home folder) 3. open it again and confirm it still works, close again 4. change file permissions to 777 and repeat 3, still ok 5. change owner to someone else... 6. try opening it again and BOOM nothing, LibreOffice just vanishes without any hint of what went wrong 7. open LibreOffice (e.g. writer) directly and try to open the file, you get an untitled empty document 8. try to drag and drop the file into the open LibreOffice writer and now, for the first time, you get an actual error message hinting at what is wrong (instead of all this silent crashing): "The object cannot be accessed due to insufficient user rights" Actual Results: LibreOffice is silently crashing/opening empty untitled documents instead of the file I try to open. Expected Results: LibreOffice should open the file and let me edit and save it if I have read, write and execution rights on it regardless of who owns it. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Version: 5.4.5.1 Build-ID: 1:5.4.5-0ubuntu0.17.10.1 CPU-Threads: 4; BS: unknown; UI-Render: Standard; VCL: gtk3; Gebietsschema: de-DE (de_DE.UTF-8); Calc: group User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36
Created attachment 140154 [details] dmesg log I may have forgotten to check the system log... This seems to be related to AppArmor and should probably be reposted at https://bugs.launchpad.net/ubuntu/+source/libreoffice
No problem here. Arch Linux 64-bit Version: 6.1.0.0.alpha0+ Build ID: b8fe96f1da2c42c04a8094ca8c57d49763b7bded CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on March 8th 2018
It looks like this was a Debian only problem which was fixed by https://bugs.launchpad.net/ubuntu/+source/libreoffice/1:5.4.5-0ubuntu0.17.10.5.