Reseting Magento file permissions

Reseting magento file permissions from command shell (SSH) shorthand:

find . -type f -exec chmod 644 {} ;
find . -type d -exec chmod 755 {} ;
chmod o+w var var/.htaccess includes includes/config.php app/etc
chmod 550 pear
chmod -R o+w media
Filed in: Uncategorized