Re:How to force yourself to leave the computer using the lea...
by Symbiote on Saturday November 21, 2020 @08:12AM
(#25169545)
I don't use a Mac, but couldn't you put both users in the same Unix group, set group-write permissions, and set the setGId bit if it's not the default group of both users (chmod g+w -R /usr/local; find /usr/local -type d -exec chmod g+s '{}' \;) ?
Re:How to force yourself to leave the computer using the lea...
by im3w1l on Saturday November 21, 2020 @09:07AM
(#25169796)
Could you do you something like
alias brew='sudo -u personalaccount brew'
Re:How to force yourself to leave the computer using the lea...
by Hackbraten on Sunday November 22, 2020 @06:20AM
(#25176600)
I’ve had good results with the following method: https://gist.github.com/claui/ada85e696029cfa8cba9b91723ce2e...
Re:How to force yourself to leave the computer using the lea...
by Wowfunhappy on Saturday November 21, 2020 @11:37AM
(#25170651)
I know it's not a novel complaint but a really dislike this about homebrew, and I think it should be reason enough to opt for Macports if you need a macOS package manager.
It's just so fragrantly violating the Unix model.
Macports does things in a more conventional way, requiring sudo to elevate privileges to root before installing software, but should also work properly on a multi-user system, whereas homebrew sort of assumes a single-user install.
(I think homebrew has some capacity for being used multi-user -- years back my CS professor had a lab of macs and managed to get this working I believe)