Forked from memtkmcc/gist:a878835686c1cef88db852e477ea1460
Last active
February 20, 2019 17:15
-
-
Save pricejn2/ec7e38a58335f27b41d8d41cdae68ca3 to your computer and use it in GitHub Desktop.
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
---start--- | |
find /var/www/grav-onepage -type d -exec chmod 0755 {} \; &> /dev/null | |
find /var/www/grav-onepage -type f -exec chmod 0644 {} \; &> /dev/null | |
chown -R www72:www-data /var/www/grav-onepage | |
find /var/www/grav-onepage/bin -type d -exec chmod 02755 {} \; &> /dev/null | |
find /var/www/grav-onepage/bin -type f -exec chmod 0755 {} \; &> /dev/null | |
find /var/www/grav-onepage/tmp -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/tmp -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/cache -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/cache -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/logs -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/logs -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/images -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/images -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/assets -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/assets -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/data -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/data -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/backup -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/backup -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/config -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/config -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/pages -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/pages -type f -exec chmod 0664 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/accounts -type d -exec chmod 02775 {} \; &> /dev/null | |
find /var/www/grav-onepage/user/accounts -type f -exec chmod 0664 {} \; &> /dev/null | |
---fin--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment