Skip to main content
3 of 4
Magento 2 folder/file permissions
Marius
  • 198.9k
  • 55
  • 431
  • 837

Magento 2 folder/file permissions

I suspect that the permissions might have gotten messed up on my Magento 2 installation. On the old versions I would run the following command to make folders 755 and files 644:

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

Can you please let me know what the correct file and folder permissions are for Magento 2, since they seem to be different? Also, if there are some particular folders or files that would need different permissions.

Neekoy
  • 991
  • 1
  • 8
  • 10