mxcl/homebrew — pull request #20948 by havenwood (2013-07-01 20:32:01+00:00)
Title: When brew is run with sudo, set process permissions to brew file owner.

Instead of refusing to run `sudo brew` commands, change the process permissions to the user id and group id of the owner of the HOMEBREW_BREW_FILE.