I'm trying to:
composer dump-autoload
On a Ubuntu 16.04 server.
I get the error:
file_put_contents(/var/www/example.com/site/vendor/composer/autoload_namespaces.php): failed to open stream: Permission denied
I have:
- Change permission of storage dir to 755
- Made sure the www-data user has correct usage rights
I still get the error. Any ideas on a fix?