2015-01-07 1:35 GMT+01:00 Aria Stewart <[email protected]>:

>
> > On Jan 6, 2015, at 3:57 AM, zladuric <[email protected]> wrote:
> >
> > Technically, sudo npm isn't running as root. It's running as that user,
> but with root privileges. Do files get written as the user to, say,
> /usr/local.
>
> I'm not sure there's a meaningful difference there. Either way, it's uid 0.
>
> Aria
>
>
Yeah, the difference can be mostly ignored. Effectively, without -E flag to
sudo, `sudo npm` would be just the same as if called from a root shell,
environment doesn't get transfered like that.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CADu3pbyWCEwL9JCgOaQE6AaJxAaqbPcGkJJ6gUS6zNBzUOLeqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to