Created
January 15, 2018 07:46
-
-
Save ternavsky/36894cb0babd29c07e30590430c3120a to your computer and use it in GitHub Desktop.
OctoberCMS file permissions production setup
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
#!/bin/bash | |
sudo chown -R www-data:www-data * | |
sudo find . -type d -exec chmod 755 {} \; | |
sudo find . -type f -exec chmod 664 {} \; | |
sudo chmod -R g+s storage themes | |
sudo chmod -R ug+rwx storage themes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment