Description: I'm using LibreOffice 5.4.5.1 on Ubuntu 17.10. The program works fine when I open the file under /home/user/Document . I created directory named "Foo" in / and changed the owner to current user. The I copied a.doc to /Foo and tried to open it, but failed either by double-click in nautilus or by command "libreoffice a.doc". The program shut down immediately. Steps to Reproduce: 1. sudo mkdir /Foo 2. sudo chown -R user /Foo 3. cp ~/Document/a.doc /Foo 4. cd /Foo 5. libreoffice a.doc Actual Results: The program shut down immediately. Expected Results: The program can start normally. Reproducible: Always User Profile Reset: Yes Additional Info: [Information automatically included from LibreOffice] Locale: zh-CN Module: TextDocument [Information guessed from browser] OS: Linux (All) OS is 64bit: yes User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
I have exactly the same bug in LibreOffice 5.4.5.1 on Kubuntu 14.04 LTS (ID 1:5.4.5-0ubuntu0.14.04.1~lo1).
Here https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522149.html is the same bug described...
I add another info: in my case the problem with no opening files not under the /home directory and its sub-directories is not only on linux directory on the ext4 partition (as is described by David Chang), but also on any windows directory on the ntfs partition (full accessible via ntfs3g). The bug has not appear either in previous LO version (5.4.4), or in any older versions...
I have successfully tested the workaround described on https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522163.html : sudo apparmor_parser -R /etc/apparmor.d/usr.lib.libreoffice.program.* But it is only workaround, not the solution...
The permanent workaround (but still no solution) is described on https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522163.html : sudo apparmor_parser -R /etc/apparmor.d/usr.lib.libreoffice.program.* The problem seems to will be repaired - see https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522380.html and previous/next messages...
(In reply to JirkaZ from comment #5) > The permanent workaround (but still no solution) is described on > https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522163. > html : > > sudo apparmor_parser -R /etc/apparmor.d/usr.lib.libreoffice.program.* SORRY - MY MISTAKE! the real permanent workaround (but still no solution) is described on https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522185.html and console command is following: sudo ln -s /etc/apparmor.d/usr.lib.libreoffice.program.* /etc/apparmor.d/disable/
(In reply to JirkaZ from comment #6) > (In reply to JirkaZ from comment #5) > > The permanent workaround (but still no solution) is described on > > https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522163. > > html : > > > > sudo apparmor_parser -R /etc/apparmor.d/usr.lib.libreoffice.program.* > > SORRY - MY MISTAKE! > > the real permanent workaround (but still no solution) is described on > https://www.mail-archive.com/desktop-packages@lists.launchpad.net/msg522185. > html and console command is following: > > sudo ln -s /etc/apparmor.d/usr.lib.libreoffice.program.* > /etc/apparmor.d/disable/ Thanks very much! This workaround works.
*** Bug 115932 has been marked as a duplicate of this bug. ***
Debian problem fixed by https://bugs.launchpad.net/ubuntu/+source/libreoffice/1:5.4.5-0ubuntu0.17.10.5
"Live" version of this bug: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1751005