Created
December 26, 2016 16:21
-
-
Save gelanivishal/eddf9a06daf218582fddac21d1ebbaa4 to your computer and use it in GitHub Desktop.
Magento 2 folder/file permissions From http://magento.stackexchange.com/questions/91870/magento-2-folder-file-permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -exec chmod 644 {} \; // 644 permission for files | |
find . -type d -exec chmod 755 {} \; // 755 permission for directory | |
find ./var -type d -exec chmod 777 {} \; // 777 permission for var folder | |
find ./pub/media -type d -exec chmod 777 {} \; | |
find ./pub/static -type d -exec chmod 777 {} \; | |
chmod 777 ./app/etc | |
chmod 644 ./app/etc/*.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment