Ruby: Insecure World Writable Directory

I keep getting following warning lately on my mac.
ruby warning: Insecure world writable dir /usr/local/bin, mode 040777
Little research and I found, Ruby warns you about any world writeable directory in your PATH. Not only writeable directories but parents as well. Fix is super quick.
chmod o-w /usr/local/bin
You can replace /usr/local/bin with any directory which ruby complains about. This fixes the issue.

Published October 15 2011

blog comments powered by Disqus