Created
October 2, 2014 08:26
-
-
Save carlosasin/147c5bad7195b107e900 to your computer and use it in GitHub Desktop.
Magento - Repair 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
#!/bin/sh | |
sudo find . -type f -exec chmod 644 {} \; | |
sudo find . -type d -exec chmod 755 {} \; | |
sudo chmod o+w var app/etc | |
sudo chmod 550 mage | |
sudo chmod -R o+w media |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment