Output from the build log:

cp: cannot stat 'openoffice.mime': No such file or directory
cp: cannot stat 'openoffice.keys': No such file or directory
cp: cannot stat 'openoffice.applications': No such file or directory
cp: cannot stat 'openoffice.org.xml': No such file or directory

suggests that there is another problem with the files installed in the 
directories affected by the permissions problem. And indeed after manually 
fixing the permissions of the directories, I can see that they are empty.
I can see those files in a local build under 
parts/libreoffice/build/workdir/CustomTarget/sysui/share/libreoffice/.

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

Title:
  [snap] libreoffice 5.4.0 snap has incorrect file permissions for some
  files installed by stage packages

Status in libreoffice package in Ubuntu:
  Triaged

Bug description:
  In the snap built by launchpad at
  https://code.launchpad.net/~libreoffice/+snap/libreoffice, the
  following directories have incorrect permissions:

  drw-r--r--    $SNAP/usr/share/application-registry
  drw-r--r--    $SNAP/usr/share/mime-info

  Both are missing the executable flag. This triggers bug #1712476,
  where the store refuses the snap.

  Those paths are being installed by openjdk-8-jre as a stage package,
  and I'm seeing that libreoffice-common also installs files into those
  paths, so it could very well be that building libreoffice tempers with
  the original permissions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1713742/+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