【发布时间】:2017-08-26 21:28:34
【问题描述】:
我正在尝试通过运行以下命令来安装 Rust:
sudo curl https://sh.rustup.rs -sSf | sh
我不断收到以下错误:
could not write rcfile file: '/Users/pro/.bash_profile'
info: caused by: Permission denied (os error 13
【问题讨论】:
-
为什么你(试图)以 root 身份运行它?
-
因为当我在没有它的情况下尝试它时给出了这个错误所以我认为使用 sudo 可以解决它
-
是不是说不使用
sudo也会报错?请edit 你的问题有你正在运行的完整的shell 命令,从curl命令开始直到下一个shell 提示符。