Skip to content

Instantly share code, notes, and snippets.

@davidhund
Created November 26, 2020 11:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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