Skip to content

Instantly share code, notes, and snippets.

@rafaelstz
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save rafaelstz/1b5637919b6f53da9bd3 to your computer and use it in GitHub Desktop.

Select an option

Save rafaelstz/1b5637919b6f53da9bd3 to your computer and use it in GitHub Desktop.
Permissão correta

Permissõa correta!

chown -R _www:_www * # Let apache be owner
# rwxr-xr-x
sudo find . -type d -exec chmod 755 {} \;
# rw-r--r--
sudo find . -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment