Brew install Error: Failure whil
2022-04-26 本文已影响0人
Eazow
当brew install
报权限错误时,例如
Error: Failure while executing;
/bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/etc/docker.fish-completion /usr/local/share/fish/vendor_completions.d/docker.fish
exited with 1. Here's the output:
ln: /usr/local/share/fish/vendor_completions.d/docker.fish: Permission denied
解决方法
$ sudo chown -R $(whoami) /usr/local/share/fish