This thread was archived. Please ask a new question if you need help.
Please explain why i can't read an html file with Firefox
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)
Access denied sounds like a permissions issue. Is your error similar to this? see screenshot
Modified by jonzn4SUSE
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
May be try to open a terminal with superuser login and then type rustup docs --book
Modified by kavinprabath508
Are you using Ubuntu? I have seen similar reports from users of Ubuntu.