-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust-doc does not open documentation on browser #2997
Comments
Do you perhaps have Firefox installed from Snap? Searching around, it looks like there is some kind of confinement system in Snap that prevents processes from accessing files. It looks like there is some kind of connections configuration for it. |
Dupe of #2988 just for snappy. At this point we have no plans to run an embedded HTML server, so I'm going to close this. |
I've checked my browser and it has a strict snap configuration. how can i change it to say classic or devmode? |
Getting the path using: Outputs: Trying to open docs: Outputs error:
Fixed the problem using: |
this worked for me. |
Problem
When I run rustup doc on ubuntu 22.04, I get the following error message on Firefox browser.
The issue is that the same command opens the documentation without issues on Chrome.
Access to the file was denied.
The file at /home/morarafrank/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/index.html is not readable.
It may have been removed, moved, or file permissions may be preventing access.
Rustup version
Installed toolchains
The text was updated successfully, but these errors were encountered: