[Pkg-javascript-devel] Bug#960289: npm: 'Permission denied' error when running as root

Jérémy Lal kapouer at melix.org
Mon May 11 16:19:07 BST 2020


Le lun. 11 mai 2020 à 17:15, Nikolay Shaplov <dhyan at nataraj.su> a écrit :

> Package: npm
> Version: 5.8.0+ds6-4+deb10u1
> Severity: normal
>
> I am still trying to run npm. When I manually set up git, I came to the
> next problem:
>
> I run as a root
>
> # cd /srv
> # npm install matrix-appservice-irc --global
>

You are running an untrusted module as root.
I strongly advise against that.
I can't help you if you don't read npm user manual.

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200511/b5244eac/attachment.html>


More information about the Pkg-javascript-devel mailing list