Skip to content

rust-doc does not open documentation on browser #2997

@morarafrank

Description

@morarafrank

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

rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.61.0 (fe5b13d68 2022-05-18)`

Installed toolchains

Default host: x86_64-unknown-linux-gnu
rustup home:  /home/morarafrank/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.61.0 (fe5b13d68 2022-05-18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions