I installed the latest Homebrew on OS X 10.6.5
Running any command generates this warning:
/usr/local/Library/Homebrew/global.rb:34: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
Why I'm getting this warning? and how to remedy?
I had the same problem and just fixed it with these 3 commands, roughly taken from Homebrew installation script:
sudo chgrp -R admin /usr/local
sudo chmod -R g+rwx /usr/local
sudo chmod -R o-w /usr/local