Skip to content

Instantly share code, notes, and snippets.

@bytefade
Created September 16, 2015 13:30
Show Gist options
  • Save bytefade/c9807ce06cfe71dfddb8 to your computer and use it in GitHub Desktop.
Save bytefade/c9807ce06cfe71dfddb8 to your computer and use it in GitHub Desktop.

find /var/www/PATH/OF/FILE_or_DIR/ -type f -exec chmod -R 644 {} ;

find /var/www/PATH/OF/FILE_or_DIR/ -type d -exec chmod -R 755 {} ;

PERMISSOES WORDPRESS chmod -R 755 wp-content

chmod -R 755 wp-admin

chmod -R 755 wp-includes

chmod 755 .

chmod 644 .htaccess

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