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

Was this answer helpful?

 Print this Article

Also Read

What PHP version to use for Magento 2?

The best PHP version to use for Magento 2 (for now) is PHP 5.6. If you are using our Web Hosting...

How to change the Database for Magento 2.0?

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

Issue when switching to Production mode in Magento 2

When trying to switch from Developer mode to Production mode:- php bin/magento deploy:mode:set...

403 Error (Forbidden)

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

Magento Built-In Backup System (Magento Backup)

We do not recommend clients to use the Magento Built-In Backup System (Magento Backup) as there...