Skip to content

Instantly share code, notes, and snippets.

@sutandang
Last active August 13, 2020 07:56
Show Gist options
  • Save sutandang/5fe406578671d5a485f7cf3520f2c592 to your computer and use it in GitHub Desktop.
Save sutandang/5fe406578671d5a485f7cf3520f2c592 to your computer and use it in GitHub Desktop.
$ cd /<wherever>/Sites/<thesite>
$ sudo chown -R _www wordpress
$ sudo chmod -R g+w wordpress
## Batch update permission
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment