Knowledgebase: Magento
Reset Magento File and Directory Permissions
Posted by ASO Admin on 11 February 2020 11:16 AM

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.

(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
ERROR: This domain name (kb.asmallorange.com), does not match the domain name in the license key file help.asmallorange.com.

For assistance with your license, please contact the Kayako support team: https://support.kayako.com