13
7
I installed homebrew using my other user account (which I use during work), but it is impossible to install software from my newly created personal account:
$ brew install unrar
Error: Cannot write to /usr/local/Cellar
A ls -dl /usr/local/Cellar/
shows that the directory is owned by my other user account.
How do I configure homebrew to allow multiple users to install software?
You can take control from the other user by doing
sudo chown -R $(whoami) /usr/local
– Nathan Lloyd – 2018-08-20T22:14:15.107