Exotic? I am a developer and run several different flavors of Linux for testing. I have done this for years for files accessible to all flavors.
If the file ownership and permissions are OK, I think I should be able to access them by default. Apparmor seems to be configured to another default - deny access to my owned files if not under $HOME. Is this a good default? On 22.02.2018 13:50, Olivier Tilloy wrote: > No, that's not a solution, because as soon as libreoffice 6 is in the > ubuntu archive it will have the working apparmor profiles. If you want > to disable the apparmor profiles permanently, you can do the following: > > sudo ln -s /etc/apparmor.d/usr.lib.libreoffice.program.* > /etc/apparmor.d/disable/ > > I'm going to mark this bug invalid as the apparmor profiles are working > as expected, but your setup (with a /home2 mount point) is rather > exotic. > > ** Changed in: libreoffice (Ubuntu) > Status: New => Invalid > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1751005  > > Title: > libreoffice cannot open a document not within $HOME > > Status in libreoffice package in Ubuntu: > Invalid > > Bug description: > Starting with today's update to LibreOffice 126.96.36.199 40m0(Build:1), > files not within the user $HOME directory cannot be opened. This has > nothing to do with ownership or permissions - the target document is > owned by the user with full permissions. Moving the file to ~/Desktop > allows it to be opened normally. > > Error message in popup window: > Access to /home2/mico/documents/personal/2018 lists.ods was denied. > > Error message when launched from terminal: > $: localc "2018 lists.ods" > javaldx: Could not find a Java Runtime Environment! > Please ensure that a JVM and the package libreoffice-java-common is installed. > If it is already installed then try removing > ~/.libreoffice/3/user/config/javasettings_Linux_*.xml > Warning: failed to read path from javaldx > > The file mentioned in the error message does not exist. > I removed the corresponding file under ~/.libreoffice/4/ but that makes no > difference. > > This but started in Ubuntu 18.04 (alpha) around Feb. 15, and with > today's update (Feb. 22) it appeared in Ubuntu 17.10. > > ProblemType: Bug > DistroRelease: Ubuntu 17.10 > Package: libreoffice-core 1:5.4.5-0ubuntu0.17.10.1 > ProcVersionSignature: Ubuntu 4.13.0-36.40-generic 4.13.13 > Uname: Linux 4.13.0-36-generic x86_64 > ApportVersion: 2.20.7-0ubuntu3.7 > Architecture: amd64 > CurrentDesktop: ubuntu:GNOME > Date: Thu Feb 22 09:35:49 2018 > InstallationDate: Installed on 2018-01-27 (25 days ago) > InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1) > SourcePackage: libreoffice > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1751005/+subscriptions >  Links: ------  https://bugs.launchpad.net/bugs/1751005  https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1751005/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1751005 Title: libreoffice cannot open a document not within $HOME To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1751005/+subscriptions -- ubuntu-bugs mailing list firstname.lastname@example.org https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs