Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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

  • 4 antwoorden
  • 1 heeft dit probleem
  • 6 weergaven
  • Laatste antwoord van 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.

Alle antwoorden (4)

more options

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

Bewerkt door jonzn4SUSE op

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

Bewerkt door kavinprabath508 op

more options

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