homebrew permission

C++
sudo chown -R $(whoami) $(brew --prefix)/*
Source

Also in C++: