As the error suggests, this is due to misconfigured permissions in the ctools
directory. A quick fix would be to create the ctools/css
directories in your project directory (not all
or default
) and set their permissions to 777
.
However, this is not a good fix because it doesn't follow the Principle of least privilege. So let's get to the root of it.
This problem likely arose when you created or copied the directory from somewhere into your project directory. Doing so will set the owner of the directories as your user. Normally, the ctools/css
directory is created under the www-data
user, and thus, we can simply sudo chown www-data:www-data ctools
and cd ctools; sudo chown www-data:www-data css
(on a linux machine)