@rabeea You are changing the permission of a different folder.
/var/www/html/first-project/storage/ is not /var/www/html/asu/storage/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I just cloned my repo to DigitalOcean to /var/www/html/asu
then composer install I got this error:
The stream or file "/var/www/html/asu/storage/logs/laravel.log" could not be opened in appen d mode: failed to open stream: Permission denied
I run this but still get the error:
chmod -R o+w /var/www/html/asu/storage/
www-data
/etc/group, find the line starting with www-data and add your username behindwww-data:x:<number>:root,apache,<your username>
Please or to participate in this conversation.