You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
npm set wrong file ownership when installing global modules with sudo #13395
When using sudo npm install -g <some_module_name>, the ownership of the module directory (the directory located in /usr/lib/node_modules) and the npm cache directory (/root/.npm) are set to perqin:perqin, where perqin is the user running the sudo command.
Is it an intended behavior? I think they should be set to root:root.
This issue would better be raised at the https://github.com/npm/npm issue tracker; this one is only for problems with Node core itself, and while we bundle npm in our releases, the npm tracker is the right place to ask this kind of question, sorry. :)
Activity
addaleax commentedon Jun 2, 2017
This issue would better be raised at the https://github.com/npm/npm issue tracker; this one is only for problems with Node core itself, and while we bundle npm in our releases, the npm tracker is the right place to ask this kind of question, sorry. :)
Merge pull request #158 from replayio/dominik/bump-replay-backend-rev…