This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Please explain why i can't read an html file with Firefox

  • 4 amsoshi
  • 1 yana da wannan matsala
  • 6 views
  • Amsa ta ƙarshe daga Terry

more options

I installed Rust on my laptop and want to browse to the documentation which is installed at file:///home/lochlann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/intro.html. I try to open this in Firefox and this fails with the message: Access to the file was denied

The file at /home/lochlann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/intro.html is not readable.

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

I have read permissions on the file. No matter, it fails. I try to open the file using Firefox and navigate the directory structure rather than typing in the location. The file opens in the browser, the location is listed as file:///run/user/1000/doc/1f137432/index.html. Can you explain to me why Firefox cannot render a file that is where i put it and has appropriate permissions yet can render the same file where I did not put it? I have always been a fan but this looks more like a virus than I am comfortable with.

I installed Rust on my laptop and want to browse to the documentation which is installed at file:///home/lochlann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/intro.html. I try to open this in Firefox and this fails with the message: Access to the file was denied The file at /home/lochlann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/intro.html is not readable. It may have been removed, moved, or file permissions may be preventing access. I have read permissions on the file. No matter, it fails. I try to open the file using Firefox and navigate the directory structure rather than typing in the location. The file opens in the browser, the location is listed as file:///run/user/1000/doc/1f137432/index.html. Can you explain to me why Firefox cannot render a file that is where i put it and has appropriate permissions yet can render the same file where I did not put it? I have always been a fan but this looks more like a virus than I am comfortable with.

All Replies (4)

more options

Access denied sounds like a permissions issue. Is your error similar to this? see screenshot

An gyara daga jonzn4SUSE

more options

Thank you It does sound like permissions. I took a screen shot showing the name of the file, the browser response and the output of ls -l for that file, showing permissions. No worries, I will just reinstall. Still a little puzzled by the alternate route to the file rendering as described above, but it isn't blocking anything

more options

May be try to open a terminal with superuser login and then type rustup docs --book

An gyara daga kavinprabath508

more options

Are you using Ubuntu? I have seen similar reports from users of Ubuntu.