在安裝Privoxy的時(shí)候, brew link出了問(wèn)題, 報(bào)錯(cuò):
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink sbin/privoxy
/usr/local/sbin is not writable.
解決方法應(yīng)當(dāng)去看brew doctor.
其中的一個(gè)warning是解決方案:
Warning: The following directories do not exist:
/usr/local/sbin
You should create these directories and change their ownership to your account.
sudo mkdir -p /usr/local/sbin
sudo chown -R $(whoami) /usr/local/sbin