Composer user on Ubuntu -
trying composer update throw exception on laravel : [runtimeexception] not delete /home/sherkat2017/ftp/www/vendor/symfony/yaml/dumper.php: even running chmod 775 -r vendor , chown sher:www-data -r vendor did not solve issue: drwxrwxr-x 8 sher www-data 4096 apr 13 18:25 storage i think composer run user different www-data . this worked me delete /vendor folder delete composer.lock run composer install and run these commands while re-install composer install --no-dev --no-scripts composer install --no-dev -o composer install