Could not create directory WordPress plugin

Could not create directory WordPress plugin

A quick solution would be to change the permissions of the following:

sudo chmod 775 wp-content
sudo chown -R www-data:www-data wp-content/

Permission for themes and plugin folder

sudo chmod 757 wp-content/themes
sudo chmod 757 wp-content/plugins

if take care permission on production, you can run

sudo chown -R www-data:www-data wp-content/themes
sudo chown -R www-data:www-data wp-content/plugins

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s