Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running brew generates warnings

Tags:

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?

like image 794
Chiron Avatar asked Jan 01 '11 17:01

Chiron


1 Answers

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 
like image 93
Andrey Tarantsov Avatar answered Sep 23 '22 06:09

Andrey Tarantsov