Reputation: 185
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:
Upvotes: 1
Views: 1430
Reputation: 682
In your magento installation root,Run the four command below.
sudo chmod -R 777 app/etc
sudo chmod -R 777 var
Above two folder permission are correct in your case.
sudo chmod -R 777 pub/media
sudo chmod -R 777 pub/static
Upvotes: 1
Reputation: 54
Try
chmod -R 777 directory
for recursive permission setting
This will set all subfolders an files to the 777 Permission
Upvotes: 1