Reset Files and Directories permissions

From time to times, we must fix permissions on files and directory in order to secure an installation or to fix a broken one.

The process is quite straight forward and simple.

If you are hosted with us:
1) Log to your server using SSH
2) Execute the following software (it is installed with our servers):
fixpermissions

If you are hosted on your own dedicated server
1) Log to your server using SSH
2) Point yourself in your Apache folder (at the root of your website)
3) Run those commands

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 550 pear
chmod 550 mage

And the last bit: QA!
4) Visit your Magento's install and see if everything still run smoothly


And that's about it!
  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

Clearing cache from the shell

Magento often needs to refresh it's cache. In some occasion, you may want to flush either...

There has been an error processing your request

Symptoms The following error message is shown instead of your usual Magento page: There has...

How to add and edit product ratings and reviews in Magento

In Magento each product can be rated and reviewed. Customers (both guests and registered ones)...

How to add and manage currencies in Magento

In Magento you can allow customers to view the prices of the products in your shop in different...

How to Show or hide out of stock products in Magento

The process is fairly straight forwardShow out of stock products in Magento   Login to the...