I've been playing happily with the new Bash features and I'm bumping into a couple of small issues that I'm having a tough time fixing. I think fixing this one will solve the others as well.

Having installed NodeJS as described here, running commands like "npm install -g nodemon" results in a "Error: EACCES: permission denied" in '/usr/lib/node_modules/'. I'm running as root and have tried changing the directory owner to no avail. I'm running the Command Prompt as an admin as well. I'm stumped.