Firefox cannot open files in /usr/local/share/doc and /usr/share/javascript
Bug #1955325 reported by
enz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Low
|
Unassigned | ||
chromium-browser (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
firefox (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
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/
affects: | chromium (Ubuntu) → chromium-browser (Ubuntu) |
summary: |
- Firefox cannot open files in /usr/local/doc + Firefox cannot open files in /usr/local/share/doc |
summary: |
- Firefox cannot open files in /usr/local/share/doc + Firefox cannot open files in /usr/local/share/doc and + /usr/share/javascript |
To post a comment you must log in.
There is a snapd interface for this (system- packages- doc¹), but it only grants read access to /usr/share/doc, not /usr/local/doc.
I wonder if the snapd folks would be interested in extending the interface to grant read access to /usr/local/doc, too?
¹ https:/ /snapcraft. io/docs/ the-system- package- doc-interface