El Capitan and SIP

Upgrading OS X to a newer version normally works like a charme. At least compared to my experiences with linux or Windows.

I use homebrew as a package manager for OS X to fulfil my needs for extra / customized software and packages i use for development purposes. Since i knew from former releases like Yosemite where the installer processes copied /usr/local (where homebrew installs everything by default) file by file and took me 4h to update that this could lead to problems while updating i googled before migrating to El Capitan for issues with homebrew.

Part of the OS X 10.11/El Capitan changes is something called System Integrity Protection or “SIP”.

SIP prevents you from writing to many system directories such as /usr, /System & /bin, regardless of whether or not you are root. The Apple keynote is here if you’d like to learn more.

The following instructions this link provides helped me fixing my homebrew installation.

Basically i had to do

sudo chown $(whoami):admin /usr/local && sudo chown -R $(whoami):admin /usr/local

to get my homebrew installation working again.

Furthermore i had to update my oh my zsh installation via

upgrade_oh_my_zsh

to get rid of some permission errors.

For getting my old PHPStorm8 to work i had to install the Java 6 Runtime again. I will wait a few days before updating my macbook pro which i use for productive development.