Created
May 21, 2015 04:11
-
-
Save rockdrigo/18ef0d0cee7112584bcf to your computer and use it in GitHub Desktop.
mag permi.sh
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 | |
find . -type f -exec chmod 664 {} \; | |
find . -type d -exec chmod 775 {} \; | |
find var/ -type f -exec chmod 777 {} \; | |
find media/ -type f -exec chmod 777 {} \; | |
find var/ -type d -exec chmod 777 {} \; | |
find media/ -type d -exec chmod 777 {} \; | |
chmod 770 includes | |
chmod 660 includes/config.php | |
chmod +x cron.sh | |
chmod +x mage | |
chmod +x /root/zend_opcache_monitor.sh | |
echo Be Happy Little Pinguin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment