Changing the permissions here allows you to run npm -g install without giving random js scripts from npm root privileges on your system.