Last active
October 10, 2019 10:58
-
-
Save turbopixel/619785bbd6315a1201c543db676afc48 to your computer and use it in GitHub Desktop.
Webserver File Permission fix
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
# Let Apache be owner | |
chown www-data:www-data -R * | |
# Change directory permissions rwxr-xr-x | |
find . -type d -exec chmod 755 {} \; | |
# Change file permissions rw-r--r-- | |
find . -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment