[Bug 2080768] [NEW] apparmor profile: allow gio-launch-desktop

Thomas 2080768 at bugs.launchpad.net
Sun Sep 15 12:51:32 UTC 2024


Public bug reported:

I use the mozilla-team-ppa for Firefox and was not able to open
downloaded files directly from Firefox itself. It only gave me a file
picker to open file-links.

After open Firefox from the shell I saw this message:

** (firefox:1628082): WARNING **: 14:27:58.603: Cannot launch default application: Kindprozess »/usr/lib/x86_64-linux-gnu/glib-2.0/gio-launch-desktop« konnte nicht ausgeführt werden (Keine Berechtigung)
[Parent 1628082, Main Thread] WARNING: Cannot launch application: Kindprozess »/usr/lib/x86_64-linux-gnu/glib-2.0/gio-launch-desktop« konnte nicht ausgeführt werden (Keine Berechtigung): 'glib warning', file /build/firefox-J0YjYH/firefox-130.0+build2/toolkit/xre/nsSigHandlers.cpp:187

Which I fixed after adding to following content to the
/etc/apparmor.d/usr.bin.firefox

  # Allow opening links
  /usr/lib/@{multiarch}/glib-[0-9]*/gio-launch-desktop ix,

and forced a reload with

sudo apparmor_parser -r /etc/apparmor.d/usr.bin.firefox

Please include this to the Firefox packages.

Many thanks,
Thomas Creutz

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2080768

Title:
  apparmor profile: allow gio-launch-desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2080768/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list