Proposed fix: https://git.launchpad.net/~libreoffice/+git/libreoffice-
snap/commit/?id=0fffe04e069c2e334a00b238cebf150fd2644bac

** Changed in: libreoffice (Ubuntu)
       Status: Triaged => Fix Committed

** Changed in: libreoffice (Ubuntu)
     Assignee: (unassigned) => Olivier Tilloy (osomon)

-- 
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/1766192

Title:
  [snap] cannot save file under $HOME

Status in snapd:
  Triaged
Status in libreoffice package in Ubuntu:
  Fix Committed

Bug description:
  (this was initially reported on the forum:
  https://forum.snapcraft.io/t/libreoffice-6-0-3-not-so-stable/5032)

  When trying to save a file under $HOME (not a subdirectory), the user
  is presented with an error dialog:

  --- Error ---
  Error saving the document Untitled 1:
  Object not accessible.
  The object cannot be accessed
  due to insufficient user rights.
  [OK]

  This is because libreoffice tries to create a lock file of the form:
  "$HOME/.~lock.Untitled 1.odt", and the home interface doesn't allow
  writing hidden files (those with a filename that starts with a dot)
  under $HOME.

  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"

  DESKTOP_SESSION=ubuntu
  GTK_MODULES=gail:atk-bridge
  HOME=/home/osomon/snap/libreoffice/59
  LANG=fr_FR.UTF-8
  LC_MONETARY=fr_FR.UTF-8
  LC_NAME=fr_FR.UTF-8
  LC_NUMERIC=fr_FR.UTF-8
  LC_TIME=fr_FR.UTF-8
  
LD_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void:/snap/libreoffice/59/usr/lib/x86_64-linux-gnu::/snap/libreoffice/59/lib:/snap/libreoffice/59/usr/lib:/snap/libreoffice/59/lib/x86_64-linux-gnu:/snap/libreoffice/59/usr/lib/x86_64-linux-gnu:/snap/libreoffice/59/usr/lib/x86_64-linux-gnu/mesa-egl:/snap/libreoffice/59/usr/lib/x86_64-linux-gnu/mesa
  
PATH=/snap/libreoffice/59/usr/sbin:/snap/libreoffice/59/usr/bin:/snap/libreoffice/59/sbin:/snap/libreoffice/59/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  SNAP=/snap/libreoffice/59
  SNAP_ARCH=amd64
  SNAP_COMMON=/var/snap/libreoffice/common
  SNAP_DATA=/var/snap/libreoffice/59
  
SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
  SNAP_NAME=libreoffice
  SNAP_REEXEC=
  SNAP_REVISION=59
  SNAP_USER_COMMON=/home/osomon/snap/libreoffice/common
  SNAP_USER_DATA=/home/osomon/snap/libreoffice/59
  SNAP_VERSION=6.0.3.2
  TEMPDIR=/tmp
  TMPDIR=/run/user/1000/snap.libreoffice
  XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg
  XDG_CURRENT_DESKTOP=ubuntu:GNOME
  
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop
  XDG_RUNTIME_DIR=/run/user/1000/snap.libreoffice
  XDG_SESSION_DESKTOP=ubuntu
  XDG_SESSION_TYPE=x11

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1766192/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to