Skip to content

Instantly share code, notes, and snippets.

@rafaelvieiras
Created August 6, 2016 16:23
Show Gist options
  • Select an option

  • Save rafaelvieiras/4b5c39cd97782cf87070695d6fc9e8b4 to your computer and use it in GitHub Desktop.

Select an option

Save rafaelvieiras/4b5c39cd97782cf87070695d6fc9e8b4 to your computer and use it in GitHub Desktop.
Permissão correta para a pasta public_html, subpastas e arquivos

To recursively give directories read&execute privileges: find /path/to/base/dir -type d -exec chmod 755 {} +

To recursively give files read privileges: find /path/to/base/dir -type f -exec chmod 644 {} +

@alexmoreno
Copy link

asdasdad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment