Closed postmodern closed 8 months ago
Just bumped into this on a new machine install - the commits on HEAD fixed the issue for me, so thanks!
@phantomwhale more reason for me to release 0.9.3 soon, instead of waiting to release 0.10.0 later.
Marking this as closed by 802f245. Will be released in 0.9.3 shortly.
Homebrew does not support being ran as
root
. It appears that the logic ininstall_packages
can still end up running homebrew asroot
.We need a more reliable way to detect the homebrew user or the original user (
$SUDO_USER
), and run homebrew as that user.