Magento 1.9 file permission

Rusty Padlock

Permission on the server can get out off whack because of uploading files the wrong way, transferring to another server, you name it. Unluckily there are several exploits that make use of this. So checking and fixing file and directory permissions is a good place to start when something is wrong.

For Magento 1.9 (if you are running suExec) just set all rights like this:

find . -type f -exec chmod -c 644 {} \; && find . -type d -exec chmod -c 755 {} \;

Leave a Reply

Your email address will not be published.