This looks suspicious:
https://github.com/LibreOffice/core/blob/master/sysui/desktop/share/create_tree.sh#L48

If $PREFIX is empty, this would effectively result in removing the
executable bit from ${DESTDIR}/${GNOMEDIR}/share/mime-info (and
similarly for ${DESTDIR}/${GNOMEDIR}/share/application-registry a few
lines further down).

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to