I have two users on my Mac. Both are me, but one is work mode, the other is non-work mode. I have an ongoing issue with installing via homebrew.
$ brew install x
Error: Can't create update lock in /usr/local/var/homebrew/locks!
Fix permissions by running:
sudo chown -R $(whoami) /usr/local/var/homebrew
Of course, executing this suggested code solves the problem -- until I need to brew install using my other user, then I need to change ownership again. How can I set the permissions so that both users can install with homebrew?
Asked by steel
(375 rep)
Mar 15, 2017, 01:22 AM
Last activity: Jun 1, 2022, 12:44 PM
Last activity: Jun 1, 2022, 12:44 PM