I believe access to /usr/share/javascript should also be allowed, as
several -doc packages shipping HTML documentation load javascript
resources from there. See for example

$ apt rdepends libjs-mathjax | grep -- '-doc$' | wc -l
1246

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

Title:
  Firefox cannot open files in /usr/local/share/doc

Status in snapd:
  Confirmed
Status in chromium-browser package in Ubuntu:
  Confirmed
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  Both Firefox and Chromium in Ubuntu 21.10 cannot open files in
  /usr/local/doc and show a File-not-found error. IMO this is a bug
  because this directory often contains HTML files from locally
  installed software that now cannot be browsed with these HTML browsers
  anymore.

  The cause is probably the apparmor configuration in
  /var/lib/snapd/apparmor/profiles/snap.firefox.firefox, which contains
  a read permission for /usr/doc, but not for /usr/local/doc.

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