WordPress plugin install: Could not create directory

You need to change the permission of the directory

  1. At first change the user HTML folder (replace yourcomputerusername)sudo chown yourcomputerusername:yourcomputerusername /var/www/html
  2. Next change the permission for the user
  3. cd /var/www/htmlsudo chmod -R goa=rwx wordpress
  4. or
  5. sudo chmod -R 777 wordpress/wp-content
Leave a Comment