npm/npm — pull request #6160 by isaacs (2014-09-10 19:58:29+00:00)
Title: No root owned cache files

Here's how I'm testing this:

```
sudo rm -r ~/.npm; sudo npm cache add abbrev -ddd; find ~/.npm -user 0
```

I'm not sure how to go about doing that in a test, unless we can somehow either fake running as root, or expect to be able to use `sudo` in a child process, or some other craziness.