> On 5 Jan 2015, at 23:27, Sam Roberts <[email protected]> wrote:
> 
> Sorry, Aria, I'm not following you anymore.
> 
> You just wrote that --unsafe-perm is is the default when running as root.
> 
> It is NOT the default when running "sudo npm" (sudoing to root).
> 
> Therefore, running as root and running "sudo root" can behave differently.
> 
> Am I missing something?

No, that'd be me, sorry. It defaults to false for unsafe-perm as root. Sorry 
about that.

unsafe-perm is true for non-root by default, and vice versa.

So to set it to unsafe-perm for root would be to allow scripts to run as root, 
and "just work", where "just work" can include "hose my whole system".

Sorry about that!

Aria

-- 
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/2E75C1AF-D296-4A2F-84F4-0C7837D2A657%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to