【发布时间】:2019-06-25 18:57:15
【问题描述】:
我正在尝试安装 mongoDB,并且需要使用自制软件点击他们的 repo。但是,每次运行命令时,都会出现权限错误。如果有帮助,我会使用 macOS
我尝试使用和不使用 sudo 运行它,但无论哪种方式都会出错。
brew tap mongodb/brew
它应该只是点击回购
没有须藤-
touch: /usr/local/Homebrew/.git/FETCH_HEAD: Permission denied
touch: /usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart/.git/FETCH_HEAD: Permission denied
用须藤-
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
【问题讨论】:
-
没关系,我找到了问题