Created
February 20, 2013 13:54
Revisions
-
jnpkr created this gist
Feb 20, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/bash # # Run within WordPress directory # - Changes file permissions but not ownership find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; chmod 660 ./wp-config.php find ./wp-content -type d -exec chmod 775 {} \; find ./wp-content -type f -exec chmod 664 {} \;