Skip to content

Instantly share code, notes, and snippets.

@davidhund
Created November 26, 2020 11:02
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 davidhund/87bea4de74290b5941633a0d22cd5e03 to your computer and use it in GitHub Desktop.
Save davidhund/87bea4de74290b5941633a0d22cd5e03 to your computer and use it in GitHub Desktop.
Set Wordpress File/Folder Permissions in shell
# From: https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/
# CAREFULL! This searches from current path (.)
# Files: 644
sudo find . -type f -exec chmod 644 {} +
# Folders: 755
sudo find . -type d -exec chmod 755 {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment