Today I ran
brew update and after migrating the repository, it reported that it no longer needed ownership of
$ brew update Updated Homebrew from 5371359 to 13f08a2. ... ==> Migrating HOMEBREW_REPOSITORY (please wait)... ==> Migrated HOMEBREW_REPOSITORY to /usr/local/Homebrew! Homebrew no longer needs to have ownership of /usr/local. If you wish you can return /usr/local to its default ownership with: sudo chown root:wheel /usr/local
This change seems a little dubious. How does brew accomplish this new behavior, apparently bypassing security controls?