I Just did an update of Ubuntu 17.10 and Libreoffice6 and still have the same 
problem with access denied on the windows partition of my hard disk. In Ubuntu 
Home directory all is fine.  Problem with access only occurred after carrying 
out updates of Ubuntu 17.10 & LibreOffice (5.3 to 6) on the 24/2/18.  Tried all 
the above solutions to no avail.  Status of apparmor is -
sudo aa-status
[sudo] password for dave: 
apparmor module is loaded.
12 profiles are loaded.
11 profiles are in enforce mode.
   /snap/core/4110/usr/lib/snapd/snap-confine
   /snap/core/4110/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
   /snap/core/4110/usr/lib/snapd/snap-confine//snap_update_ns
   snap.core.hook.configure
   snap.libreoffice.base
   snap.libreoffice.calc
   snap.libreoffice.draw
   snap.libreoffice.impress
   snap.libreoffice.libreoffice
   snap.libreoffice.math
   snap.libreoffice.writer
1 profiles are in complain mode.
   snap.simple-scan.simple-scan
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

Is a test directory being used for apparmor? As according to the
/etc/apparmor.d/disable directory it should be disabled for office.

dave@dave-Aspire-V5-573G:/etc/apparmor.d/disable$ ls
temp                                  usr.lib.libreoffice.program.soffice.bin
usr.bin.firefox                       usr.lib.libreoffice.program.xpdfimport
usr.lib.libreoffice.program.oosplash  usr.sbin.rsyslogd
usr.lib.libreoffice.program.senddoc

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1751005

Title:
  libreoffice cannot open a document not within $HOME

Status in libreoffice package in Ubuntu:
  Fix Released

Bug description:
  Starting with today's update to LibreOffice 5.4.5.1 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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to