Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kowalski <rok@kowalski.gd>2014-12-13 04:36:24 +0300
committerForrest L Norvell <forrest@npmjs.com>2014-12-19 16:11:51 +0300
commitf5c534b711ab173129baf366c4f08d68f6117333 (patch)
tree2e4f14731acba8c9bc60a81360659fe6b358e800 /README.md
parentadfddf3b682e0ae08e4b59d87c1b380dd651c572 (diff)
remove recommendation to run as root from README
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 0 insertions, 25 deletions
diff --git a/README.md b/README.md
index 4b409ae2b..ca0145817 100644
--- a/README.md
+++ b/README.md
@@ -79,31 +79,6 @@ git, and mess with it directly.
No.
-## Permissions when Using npm to Install Other Stuff
-
-**tl;dr**
-
-* Use `sudo` for greater safety. Or don't, if you prefer not to.
-* npm will downgrade permissions if it's root before running any build
- scripts that package authors specified.
-
-### More details...
-
-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:
-
- npm config set unsafe-perm false
-
-This will prevent running in unsafe mode, even as non-root users.
-
## Uninstalling
So sad to see you go.