CocoaPods/CocoaPods — pull request #1815 by kylef (2014-02-16 18:39:08+00:00)
Title: CocoaPod's shouldn't let you run as root

I'm often finding people using `sudo` the first time because they needed it to install and they don't fully understand they don't need it in the future. This leads to problems further down the line when they don't use sudo.

It's currently possible to make both your repositories and library caches as root so running subsequent commands will cause hard to understand failures.

Thinking we should do something like this (someone to think of better copy):

```bash
$ sudo pod
Hey, it's just pod you will need to drop sudo.
```

We also need to facilitate with things being root because you won't be able to continue running as root.

~/Libraries/Caches/(not sure on exact location) can be root and cause failure, perhaps we should drop these? Or get a friendlier message when "git clone" from cocoapods-downloader fails due to permission.
~/.cocoapods/repos/master could be root.