22.04 附带的 Firefox 119.0 无法打开 /tmp 中的文件

22.04 附带的 Firefox 119.0 无法打开 /tmp 中的文件

22.04 附带的 Firefox 119.0 无法打开 /tmp 中的文件

file:///tmp/foo.html

Problem loading page

File not found

Firefox can’t find the file at /tmp/foo.html.

但它那里!

% ls -l /tmp/foo.html
-rw-rw-rw- 1 ian ian 27631 Oct 31 14:10 /tmp/foo.html

如果我将文件移动到其他任何地方,那么 ff 可以读取它:

% mv /tmp/foo.html ~
% cd
% ls -l foo.html
-rw-rw-rw- 1 ian ian 27631 Oct 31 14:10 foo.html

file:///home/ian/foo.html加载正常。ff 就是拒绝从 /tmp 加载任何内容!为什么?

相关内容