Firefox will not open files in /tmp
Running
Ubuntu Relesese 22.04.4 LTS (Jammy Jellyfish) 64-bit
Kernel Linux 5.15.0.107-generic x86_64
Mate 1.26.0
yessika:~> firefox --version
Mozilla Firefox 126.0
yessika:~> ls ~/tmp
img--69166.htm img--71450.htm img--78130.htm img--92574.htm
img--69366.htm img--74147.htm img--86626.htm netplan.html
yessika:/> firefox file://
Gtk-Message: 13:48:12.859: Failed to load module "appmenu-
Gtk-Message: 13:48:12.859: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[154186, Main Thread] WARNING: GTK+ module /snap/firefox/
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/
(firefox:154186): Gtk-WARNING **: 13:48:12.862: GTK+ module /snap/firefox/
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 13:48:12.862: Failed to load module "canberra-
After the messages about GTK modules, firefox opens a tab with the netplan page as expected.
yessika:~/bin> cp ~/tmp/netplan.html /tmp
yessika:~> ls /tmp
config-err-l2iSdE
config-err-RP1QYD
dock-replace.log
netplan.html
snap-private-tmp
systemd-
systemd-
systemd-
systemd-
systemd-
systemd-
systemd-
systemd-
tmpqk3cdwyh
yessika:/> firefox file://
Gtk-Message: 13:48:50.902: Failed to load module "appmenu-
Gtk-Message: 13:48:50.902: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[154372, Main Thread] WARNING: GTK+ module /snap/firefox/
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/
(firefox:154372): Gtk-WARNING **: 13:48:50.907: GTK+ module /snap/firefox/
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 13:48:50.907: Failed to load module "canberra-
After the Gtk-Messages, firefox opens a tab with address file://
File not found
Firefox can’t find the file at /tmp/netplan.html.
Clicking the Try again-button doesn’t help.
Can someone explain why /tmp and ~/tmp are treated so differently by firefox?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: