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 Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2080768

Title:
  apparmor profile: allow gio-launch-desktop

Status in firefox package in Ubuntu:
  New

Bug description:
  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

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