Skip to content

Instantly share code, notes, and snippets.

@cgiovanii
Forked from voltuer/wp.sh
Last active April 21, 2019 14:19
Show Gist options
  • Save cgiovanii/f8829f80bf78618b40db5ada5b9486f1 to your computer and use it in GitHub Desktop.
Save cgiovanii/f8829f80bf78618b40db5ada5b9486f1 to your computer and use it in GitHub Desktop.
Permicoes Wordpress
sudo chown www-data:www-data -R * # Let apache be owner
find . -type d -exec sudo chmod 755 {} \; # Change directory permissions rwxr-xr-x
find . -type f -exec sudo chmod 644 {} \; # Change file permissions rw-r--r--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment