Public bug reported:

Package: firefox from ppa:mozillateam/ppa
Version: 151.0.4+build1-0ubuntu0.24.04.1~mt1
Ubuntu: 24.04
Owned file: /etc/apparmor.d/usr.bin.firefox

The AppArmor profile shipped by this firefox package blocks Firefox's
"Open With" functionality. Firefox can show registered applications, but
the selected application is not executed.

Initial denial:
Firefox could not execute /usr/lib/x86_64-linux-gnu/glib-2.0/gio-launch-desktop.

After allowing that, Evince launched, but Xournal++ still failed because
the profile denied execution of /usr/bin/xournalpp-wrapper.

Audit line:
apparmor="DENIED" operation="exec" class="file" profile="firefox" 
name="/usr/bin/xournalpp-wrapper" comm="gio-launch-desk" requested_mask="x" 
denied_mask="x"

Local workaround:
Allow gio-launch-desktop and the selected handler/wrapper in 
/etc/apparmor.d/local/usr.bin.firefox.

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

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

Title:
  Firefox AppArmor profile blocks “Open With” desktop handlers via gio-
  launch-desktop and app wrappers

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to