From aec3590a45217f1b4a11b9fc3ada3aa8e9828460 Mon Sep 17 00:00:00 2001 From: Mohamed Akram Date: Fri, 6 Mar 2026 19:56:26 +0400 Subject: [PATCH] docs(scripts): remove mention of obsolete root user behavior --- docs/lib/content/using-npm/scripts.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/lib/content/using-npm/scripts.md b/docs/lib/content/using-npm/scripts.md index e8c4dcb17e39c..380c4aa49e36f 100644 --- a/docs/lib/content/using-npm/scripts.md +++ b/docs/lib/content/using-npm/scripts.md @@ -241,10 +241,6 @@ For more details, see: - [npm v7 release notes](https://github.com/npm/cli/releases/tag/v7.0.0) - [Discussion about script working directory reliability in npm v6 and earlier](https://github.com/npm/npm/issues/12356) -### User - -When npm is run as root, scripts are always run with the effective uid and gid of the working directory owner. - ### Environment Package scripts run in an environment where many pieces of information are made available regarding the setup of npm and the current state of the process.