【发布时间】:2018-12-11 22:54:53
【问题描述】:
我正在尝试使用 Brew 在 macOS high sierra 上安装 rsync:
brew install rsync
但我收到了这个错误:
Error: Could not create /usr/local/Cellar <br>
Check you have permission to write to /usr/local
【问题讨论】:
-
你在尝试使用 sudo 吗??
-
是的,但是当我尝试使用
sudo时出现此错误: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.