I was trying to install Magento 2 in OSX El Capitan system.
For this I was downloaded Magento 2 files from their website and placed in default OSX apache server folder (/Library/Webserver/Documents/Magento). I have made changes in php.ini file as in the Magento installation documents.
I was successfully located the magento installation page using (localhos/magento), but after completing readiliness check it shows some error on file permission. I had give file permission using "chmod 777 directory", but it wont helps.
Screenshot for the error:
Try
chmod -R 777 directory
for recursive permission setting
This will set all subfolders an files to the 777 Permission