Make directory writable

apache
php

#1

Hello guys,

I am running a laravel project and need to make the following folder writable:

bootstrap/cache/
The directory must be writable by the web server (0775).

I tried the following:

sudo chown www-data:www-data -R /home/ubuntu/workspace
sudo chmod 775 -R /home/ubuntu/workspace/bootstrap/

However, I still get the error message from above.

Any suggestions?