Advertisement
Guest User

Untitled

a guest
Jul 19th, 2011
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. 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.
  2.  
  3. 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.
  4.  
  5. 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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement