Ubuntu – Firefox Quantum : HTML files from internal storage (/usr) do not open

firefoxhtmlquantum

I use Firefox Quantum 65.0 in Ubuntu 18.10.

I recently installed TeXmaker. When I tried to open help files, I got following error from Firefox.

enter image description here

File path is:

enter image description here

I am able to open the same html file with text editor.

By the way, Firefox could open html files from /home folder. However it could not access html files of /usr…

Please suggest about how I can open html files from /usr folder in Firefox.

Best Answer

It seems that you have installed Firefox as a Snap. It is normal that it can't access the folders inside root-filesystem:

$ snap interfaces | grep firefox
:avahi-observe             firefox
:browser-support           firefox:browser-sandbox
:camera                    firefox
:cups-control              firefox
:desktop                   firefox
:desktop-legacy            firefox
:gsettings                 firefox
:home                      firefox
:network                   firefox,pulsemixer
:opengl                    firefox
:pulseaudio                firefox,pulsemixer
:screen-inhibit-control    firefox
:unity7                    firefox
:upower-observe            firefox
:x11                       firefox,pulsemixer
-                          firefox:network-observe
-                          firefox:removable-media

Consider to remove Snap with

sudo snap remove firefox

and install APT version

sudo apt install firefox

and visit local help page.

Related Question