Created
November 13, 2014 13:14
-
-
Save DavidHernandez/08bd081c77066d91bfc4 to your computer and use it in GitHub Desktop.
Fix Drupal permissions
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
// Replace [data] with correct data. | |
sudo chown [user]:www-data [buildpath] -R | |
sudo chmod u-x,g-x [buildpath] -R | |
sudo chmod u=rwX,g=rX,o= [buildpath] -R | |
sudo chmod 2770 [files] | |
sudo chown www-data:www-data [files] -R | |
sudo chmod u=rwX,g=rwX,o= [files] -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment