Skip to content

Instantly share code, notes, and snippets.

@sh78
Created April 18, 2018 02:22
Show Gist options
  • Save sh78/2cb355eb0745aec7872030da70ce38a5 to your computer and use it in GitHub Desktop.
Save sh78/2cb355eb0745aec7872030da70ce38a5 to your computer and use it in GitHub Desktop.
# Fix local permissions to enable ftp/upload operations.
# APACHEUSER = user defined in `/private/etc/apache2/httpd.conf`
sudo chown -R APACHEUSER wp-content
sudo chmod -R g+w wp-content
sudo chown -R APACHEUSER wp-admin
sudo chmod -R g+w wp-admin
sudo apachectl restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment