I tried sudo chown $whoami /usr/local/bin
, after closing the terminal and reopening the terminal, but he always refuses permission, he does not fix it forever.
shaunstanislaus@Master ~ $ brew upgrade
==> Upgrading 3 outdated packages, with result:
git 2.6.1, mysql 5.6.27, node 4.1.2
==> Upgrading git
Error: Permission denied - /usr/local/share/git-core
source
share