Reputation: 125
I am getting error accessing my admin panel. The error is due to plugin. I fixed the issue by renaming the plugin folder from cpanel and changed it back. Since then,i couldn't download any plugins and get the error
Installation failed: Could not create directory.
Upvotes: 5
Views: 32277
Reputation: 1
If you use a docker container or docker-compose, you also need to give permission to the database volume.
Upvotes: 0
Reputation: 903
You need to set permission on plugin folder/directory, now the user does not have permission to create folder/directory in plugin folder/directory.
You need to set permission on wp-content and all inside folder/directory to 755.
You can set permission via terminal
sudo chmod -R 755 wp-content
wp-content should me you folder path for Linux server path should be /var/www/html/project_folder/wp-content
OR
you can set permission via FTP. Right click on wp-content folder click on permission menu and set 755 permission to the folder.
Upvotes: 16
Reputation: 156
The permissions or ownership on wp-content/plugins is incorrect. That directory should have a 775 permission set. If its already that then reapply 755 and checked “apply recursively to all directories and files.
Upvotes: 4