In Ubuntu, whever I run into a permissions error I just run the command as sudo at it usually works. Not the case in OSX:
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" From https://github.com/Homebrew/homebrew * [new branch] master -> origin/master error: unable to unlink old 'Library/Aliases/0mq' (Permission denied)
$ sudo ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" -e:69: warning: Insecure world writable dir /usr/local in PATH, mode 040777 Don't run this as root!
Not sure what I should be doing. I run into this sort of thing all the time and while I could
sudo chown the relevant directories I will be doing that all the time.
sudo brew install either as brew 'cowardly refuses' to operate as a super user. I'm just confused because I feel like I'm attempting to do something stupid, and yet the Ubuntu equivalent of this,
sudo apt-get install is considered the correct way to install new applications?
I could also create a new user who is actually a super user and install things as him, but Ubuntu doesn't let you do this as it's a bad idea and I agree having a user with limited abilities and sudoing only when needed seems like a much better idea.