4 ms·
You can transparently run homebrew as a dedicated user, prevent it from accessing your home directory, and only give /usr/local permissions to that user. https
by lunixbochs 6y ago
You can transparently run homebrew as a dedicated user, prevent it from accessing your home directory, and only give /usr/local permissions to that user.
https://github.com/lunixbochs/meta/tree/master/utils/brew_altuser https://github.com/lunixbochs/meta/tree/master/utils/brew_al...
I have been doing this for years. The only thing it breaks for me is casks that try to install applications, and I don't mind.