find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./media -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml
Author: Harshvardhan Malpani
PHP Developer based in New Delhi, India. Working as a freelance web developer providing server deployment, website development and maintenance services.
View all posts by Harshvardhan Malpani