[snap] chromium snap does not allow to read symlinks to /usr/share/javascript
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Fix Released
|
Unknown
|
|||
chromium-browser (Ubuntu) |
Fix Released
|
Undecided
|
Nathan Teodosio | ||
firefox (Ubuntu) |
Fix Released
|
Undecided
|
Nathan Teodosio |
Bug Description
Steps to reproduce:
1) Install chromium snap
snap install chromium
2) Install openjdk-21 documentation
sudo apt install openjdk-21-doc
3) Browse API documentation
chromium /usr/share/
The search bar is inactive and dev console contains:
jquery-
$ls -l /usr/share/
lrwxrwxrwx 1 root root 43 Mar 17 13:31 /usr/share/
cat /usr/share/
prints the file contents
Downloaded version of chrome opens documentation with active search bar and no javascript errors
/tmp/chrome/chrome /usr/share/
Expected results:
Chromium snap should be able to follow symlink into /usr/share/
Note: this probably should be a specific exclusion for Debian-based systems.
Changed in chromium-browser (Ubuntu): | |
status: | Won't Fix → Triaged |
Changed in firefox (Ubuntu): | |
status: | Won't Fix → Triaged |
assignee: | nobody → Nathan Teodosio (nteodosio) |
Changed in chromium-browser (Ubuntu): | |
assignee: | nobody → Nathan Teodosio (nteodosio) |
no longer affects: | chromium-browser |
Changed in firefox: | |
status: | Unknown → Confirmed |
Changed in firefox: | |
status: | Confirmed → Fix Released |
Created attachment 9350104 snap-info. txt
firefox-
Steps to reproduce:
1. Install firefox snap 116.0.3-2 doc/openjdk- 21-doc/ api/index. html
snap install firefox
2. Install openjdk-21 documentation
sudo apt install openjdk-21-doc
3. Browse API documentation
firefox /usr/share/
Actual results:
The search bar is inactive //usr/share/ doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js”.
Console contains
Loading failed for the <script> with source “file:/
$ls -l /usr/share/ doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js -> ../../. ./../javascript /jquery/ jquery. min.js
lrwxrwxrwx 1 root root 43 Mar 17 13:31 /usr/share/
cat /usr/share/ doc/openjdk- 21-jre- headless/ api/script- dir/jquery- 3.6.1.min. js
prints the file contents
Downloaded version of firefox opens documentation with active search bar and no javascript errors firefox /usr/share/ doc/openjdk- 21-doc/ api/index. html
/tmp/firefox/
Expected results:
Firefox snap should be able to follow symlink and correctly load OpenJDK API documentation.