I have a Vagrant running Linux and I\'m trying to install Symfony.
After the command composer create-project symfony/framework-standard-edition ./ \"2.5.*\"
In my case I was trying composer update but I got
[RuntimeException] Could not delete .../vendor/bin/php-parse:
Despite I'm using Laravel framework, this question was the first link in Google, so I decided to post an answer.
My solution was to grant ownership for vendor: sudo chown -R $USER:www-data vendor/ and
sudo chown -R $USER:www-data composer.json
Update: my host OS was Ubuntu 16.04.