Set TMPDIR to wd when downgrading permissions.
sh actually seems to freak out if you don't have permission to
write to the TMPDIR env, at least on Solaris.
Add a 'rollback' boolean config to prevent rolling back failed installs
Don't try to change uid or gid if in unsafe-perm mode.
Don't use gtar. Just causing problems.
Don't try to install cwd inside bundle
Add system info to error reporting
Managing uids is annoying.
Changelog for 0.3.1-0.3.5
Closes GH-609 `make install` installs current, not latest
`make latest` to do the old behavior.
Add silly logging around sha failures
Add Geoff to contribs list
explicitly set bash as the shell since the makefile uses bash-isms
Default mode should not be world-writable for dirs
Closes GH-627 Revert 'rm privilege escalation'. Causes issues.
Reverts the following commits:
* 1679d41 isaacs privilege escalation is an info, not a warn (2 weeks ago)
* 08e59c1 isaacs Cooler prompt (2 weeks ago)
* b43a6ae isaacs Escalate perms when rm fails. (2 weeks ago)
Clean up tests a bit
Don't warn. That's a verbose log
Closes GH-610 Better proxy stuff.
Don't even try to get uid if in unsafe mode
Add debuggery around proxy stuff
Remove modules hash from default-loading
Only read installed package.json files when necessary, not all the time
Closes GH-634 Remove stdin's error listener when done
blow through errors in deactivate
check out, npm link, then remove the source, and npm rm would be
broken, because the deactivate coudln't read the json.
Log the error nicer
Allow invalid json in already-installed packages
Closes GH-622 (I hope) Don't untar as nobody.
Since it has to walk the dir chown/chmod'ing anyway, untarring with a
specific uid/gid is largely unnecessary, and only causes problems.
Remove overlay json support