Skip to content

Instantly share code, notes, and snippets.

@artlung
Created August 30, 2020 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artlung/eb05e20f89e885045c41bce4c8c00901 to your computer and use it in GitHub Desktop.
Save artlung/eb05e20f89e885045c41bce4c8c00901 to your computer and use it in GitHub Desktop.
Set Permissions to 600 for all WordPress wp-config.php files
# where /usr/home/username/public_html contains all your wordpress installs
# to run for the current directory and lower:
# find . -name wp-config.php | xargs chmod 600
find /usr/home/username/public_html -name wp-config.php | xargs chmod 600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment