Created
June 15, 2016 06:52
-
-
Save the-nerdery-dot-info/76487ec01841900108edf0e6942edd9a to your computer and use it in GitHub Desktop.
Magento 1.9 permissions
This file contains hidden or 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
sudo chown -R ubuntu:www-data install-dir | |
sudo find . -type f -exec chmod 640 {} \; | |
sudo find . -type d -exec chmod 750 {} \; | |
sudo find var/ -type f -exec chmod 660 {} \; | |
sudo find media/ -type f -exec chmod 660 {} \; | |
sudo find var/ -type d -exec chmod 770 {} \; | |
sudo find media/ -type d -exec chmod 770 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment