- As of version 0.3, it is recommended to run npm as root. This allows npm to change the user identifier to the nobody user prior to running any package build or test commands.
- If you are not the root user, or if you are on a platform that does not support uid switching, then npm will not attempt to change the userid.
- If you would like to ensure that npm always runs scripts as the "nobody" user, and have it fail if it cannot downgrade permissions, then set the following configuration param:
a guest Jul 19th, 2011 177 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data