How do I set the correct file permissions for Magento?

Magento installation out of the box does not use the correct and safe file permissions for our servers. 

Please follow our guide in GitHub to set the correct file permissions. 


Magento Connect Manager

Make sure that Magento Connect Manager sets the correct file permissions after an installation or upgrade. 

1. Go to Magento Connect Manager --> Settings.

2. Under Use custom permissions, select "Yes" and:-
- Folders: 755
- Files: 644

3. Click Save Settings
  • Email, SSL
  • 28 Users Found This Useful
Was this answer helpful?

Related Articles

403 Error (Forbidden)

If you see a 403 Forbidden error, there can be a few reasons that causes it:-1. Wrong File...

Magento Cron Job

With Magento version 1.8.x and 1.9.x, some users are facing issues where the Magento Cron Job is...

Image Upload Issue with Magento 1.9.2.3 or SUPEE-7405

Magento Community Edition 1.9.2.3 and the Security Patch SUPEE-7405 introduced a new bug with...

500 Error (Internal Server Error)

If you see a 500 Internal Server Error error, your Disk Space usage is most likely full. You...

How to change the Admin Path for Magento 2.0?

To change the Admin Path for Magento, please open up the file below:- /app/etc/env.php Look for...