Support Center

Reset Magento File and Directory Permissions

Last Updated: Jun 01, 2015 01:12PM CDT

To reset the file and directory permissions for Magento back to their default and secure permissions, run the following commands from the directory where Magento is installed:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod +x mage

Resources & Notes

If you're running Magento 1.4.x and earlier, change the word mage in the last command to pear.


​Check out the rest of our Magento articles to get more info and help.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found