Created
November 26, 2020 11:02
-
-
Save davidhund/87bea4de74290b5941633a0d22cd5e03 to your computer and use it in GitHub Desktop.
Set Wordpress File/Folder Permissions in shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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