Upgrading to Mountain Lion from Snow Leopard has affected a lot of the software I use. While trying to update and install some Ruby gems on my system as well as other software (using Homebrew), I got this error message
Warning: The /usr/local directory is not writable. Even if this directory was writable when you installed Homebrew, other software may change permissions on this directory. Some versions of the "InstantOn" component of Airfoil are known to do this. You should probably change the ownership and permissions of /usr/local back to your user account.
Does anyone know how I can change ownership and permissions of /usr/local back to my user account?