当我运行“rustup doc”时访问被拒绝

kfr*_*ncs 6 rust rustup

当我跑步时rustup doc --book我得到这个:

Access to the file was denied.

The file at file:///home/ken/.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.
Run Code Online (Sandbox Code Playgroud)

我已经重新安装,我尝试chmod -R 777在目录上使用。还有什么可以尝试的?文件就在那里。

小智 1

你用什么浏览器?我使用 Brave,也发生了同样的错误。我解决了这个问题,将默认浏览器更改为 Chromium。之后,一切工作都很完美。