Created
October 22, 2013 20:19
-
-
Save dominicthomas/7107436 to your computer and use it in GitHub Desktop.
Use after a fresh node install to make sure root and admin have group ownership and write permissions to the said folders. This ensures you can run 'npm install -g' without have to use sudo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/lib/ | |
sudo chown -R :admin node_modules/ node/ dtrace/ | |
sudo chown -R root node_modules/ node/ dtrace/ | |
sudo chmod g+x node_modules/ node/ dtrace/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment