News for hackers. Stuff that matters.
Re:Homebrew 1.1.0 by favadi on Monday November 07, 2016 @11:29AM (#12892284)
> Disable running Homebrew as the root user (e.g. sudo brew)

why? Just curious, because I always use macports with sudo.

Re:Homebrew 1.1.0 by mikemcquaid on Monday November 07, 2016 @12:06PM (#12892639)
We don't drop privileges when building (as we're not designed to run as root) and the macOS sandbox has issues with the root user so unfortunately you're giving every package you install root access to write to (almost) anywhere on your system. This is bad so we've stopped it.
Re:Homebrew 1.1.0 by Spivak on Monday November 07, 2016 @12:53PM (#12893146)
> We don't drop privileges when building

So why did you choose to disable running as root altogether rather than dropping privileges when building?

Re:Homebrew 1.1.0 by mikemcquaid on Monday November 07, 2016 @12:56PM (#12893168)
Using the root user like this is used by a tiny minority of our users. The deprecation notice noted we'd happily accept a PR that implemented the privilege dropping but one never came. In a world where Homebrew is run by a full-time, paid staff we'd likely have implemented it but there's too much other, more important stuff that needs done by our understaffed team.
Re:Homebrew 1.1.0 by hkmix on Monday November 07, 2016 @11:31AM (#12892313)
I assume it's because 1) it's not really needed, and 2) it prevents shady packages from executing scripts as root.
Re:Homebrew 1.1.0 by creshal on Monday November 07, 2016 @11:35AM (#12892339)
IIRC because it could cause problems with overwriting system libraries in earlier versions, so it has long been deprecated.