I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason.<p>I understand that running a program that runs third-party scripts under sudo is a security nightmare, but there has to be a better solution than globally chowning /usr/local.<p>[UPDATE] Apparently, this is no longer the case. Good to know!<p>[UPDATE2] Alas, the problem seems to not have been fully addressed. You still need to chown /usr/local/bin :-(