Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Firefox throws an error when opening .html files stored in other partition.

  • 6 trả lời
  • 1 gặp vấn đề này
  • 4 lượt xem
  • Trả lời mới nhất được viết bởi Prakhar Saxena

more options

Firefox always gives an error whenever opening .html files stored in a partition different from where the OS is installed stating that "Access to the file was denied" as in the link below.

OS - Ubuntu 18.04 Screenshot Link - https://i.stack.imgur.com/ztBnb.png

Firefox always gives an error whenever opening .html files stored in a partition different from where the OS is installed stating that "Access to the file was denied" as in the link below. OS - Ubuntu 18.04 Screenshot Link - https://i.stack.imgur.com/ztBnb.png

Tất cả các câu trả lời (6)

more options

Try using File > Open File ... to open saved HTML files.

If your Menu Bar, with the "File" menu is hidden, hit the Alt key to show the Menu Bar - then hit F and then hit O.

more options

the-edmeister said

Try using File > Open File ... to open saved HTML files. If your Menu Bar, with the "File" menu is hidden, hit the Alt key to show the Menu Bar - then hit F and then hit O.

Didn't work

more options

You may need root permission to access files on that drive.

This can also be a sandbox security issue.

You can set this pref to 2 or 1 on the about:config page to reduce the sandbox security level.

  • security.sandbox.content.level = 1
  • close and restart Firefox to make the change effective.

If this didn't work then undo/reverse the change and reset the pref via the right-click context menu to the default value.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

See also Linux:

more options

cor-el said

You may need root permission to access files on that drive. This can also be a sandbox security issue. You can set this pref to 2 or 1 on the about:config page to reduce the sandbox security level.
  • security.sandbox.content.level = 1
  • close and restart Firefox to make the change effective.
If this didn't work then undo/reverse the change and reset the pref via the right-click context menu to the default value. You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue. See also Linux:

Thanks, it worked. Update: It worked for the first time but when I rebooted the same problem occurred again even when the value was 1.

Được chỉnh sửa bởi Prakhar Saxena vào

more options

Hi, you may have to give it permission via the OS also.

more options

Pkshadow said

Hi, you may have to give it permission via the OS also.


I exactly don't know how to give it permission via OS. Chrome easily accesses the file by default.