Reset Magento File Permissions

/ Published in: Bash
Save to your folder(s)

Copy this code and paste it in your HTML
  1. find . -type f -exec chmod 644 {} \;
  2. find . -type d -exec chmod 755 {} \;
  3. chmod o+w var var/.htaccess includes includes/config.php app/etc
  4. chmod 550 pear
  5. chmod -R o+w media

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.