← Back to team overview

linux-traipu team mailing list archive

[Bug 2032992] Re: [snap] chromium snap does not allow to read symlinks to /usr/share/javascript

 

** Bug watch added: Mozilla Bugzilla #1849961
   https://bugzilla.mozilla.org/show_bug.cgi?id=1849961

** Also affects: chromium-browser via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1849961
   Importance: Unknown
       Status: Unknown

** No longer affects: chromium-browser

** Also affects: firefox via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1849961
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/2032992

Title:
  [snap] chromium snap does not allow to read symlinks to
  /usr/share/javascript

Status in Mozilla Firefox:
  Unknown
Status in chromium-browser package in Ubuntu:
  In Progress
Status in firefox package in Ubuntu:
  In Progress

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/doc/openjdk-21-doc/api/index.html

  The search bar is inactive and dev console contains:
  jquery-3.6.1.min.js:1     Failed to load resource: net::ERR_FILE_NOT_FOUND

   
  $ls -l /usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-3.6.1.min.js
  lrwxrwxrwx 1 root root 43 Mar 17 13:31 /usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-3.6.1.min.js -> ../../../../javascript/jquery/jquery.min.js

  cat /usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-3.6.1.min.js
  prints the file contents

  Downloaded version of chrome opens documentation with active search bar and no javascript errors
  /tmp/chrome/chrome /usr/share/doc/openjdk-21-doc/api/index.html

  Expected results:

  Chromium snap should be able to follow symlink into
  /usr/share/javascript and correctly load OpenJDK API documentation.

  Note: this probably should be a specific exclusion for Debian-based
  systems.

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