I am following the guide on symblog: http://tutorial.symblog.co.uk/docs/doctrine-2-the-blog-model.html
I am trying to run: $ php composer.phar update
after updating the composer.json
but get the following error:
[Symfony\Component\Filesystem\Exception\IOException]
Failed to remove file "/var/webroot/vhosts/mysite.co.uk/htdocs/Symfony/app/cache/dev_old/profiler/32/95/639532"
The permissions on this file is: 0644 were the owner is www-data and the group is sambashare which includes the user i am ssh'd in as (john).
As this is running php from command line, is php being run as 'john' thus in the group of the file wanting to be removed but not the user?
The runtime error at the end it:
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.
After a bit of searching some people have just said clear this cache manually.. but how can i fix this issue at the root so i do not have to do this manually?
Thanks, John