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".

Tìm hiểu thêm

I can't open local html file with Firefox on Redhat 7.4.

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

more options

When i open the local html file on redhat 7.4, the following error will display.


Access to the file was denied

The file at /root/xxxxxx/start.html is not readable.

   It may have been removed, moved, or file permissions may be preventing access.

but if i copy the html file to /usr/share/doc/HTML/en-US/ directory, and open it with firefox. The file will be opened.

When i open the local html file on redhat 7.4, the following error will display. ------------------------------------------------------------------------------- Access to the file was denied The file at /root/xxxxxx/start.html is not readable. It may have been removed, moved, or file permissions may be preventing access. ------------------------------------------------------------------------------- but if i copy the html file to /usr/share/doc/HTML/en-US/ directory, and open it with firefox. The file will be opened.

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

more options

Files in /usr/share/ have read permission (but not write permission). Files in /root/ can only be accessed by the root owner and never by other users. So you will have to place the file in a location that permits read access to your user account.

more options

the reason: SELinux is preventing /usr/lib64/firefox/plugin-container from 'setattr' accesses on the directory bus.

solution: setsebool -P unconfined_mozilla_plugin_transition 0