Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • 4 odpovede
  • 1 má tento problém
  • 9 zobrazení
  • Posledná odpoveď od 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.

Všetky odpovede (4)

more options

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

Upravil(a) jonzn4SUSE dňa

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

Upravil(a) kavinprabath508 dňa

more options

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