Knowledgebase: Magento
Reset Magento File and Directory Permissions
Posted by CTX Admin on 21 October 2014 03:11 PM

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.

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion