Ok , so I saw this when I had
nginx as the php owner. IE the user the was running the php ( the site code if you like )
uploader was the owner of the folder /src etc etc.
nginx cant get to do the update as it doesnt "own" the folder so hasnt the permission. I had to change the owner of the folder /src from uploader to nginx.
I found out what "user" was running the php with some simple php code and ran it via my webserver address
I created a file on my site called whoami.php
I put in the below text
Code:
<?php
passthru("whoami");
?>
Saved it
went to chrome and opened up turborenault.co.uk/whoami.php - you put in your own domain
It told me that nginx was running the php so I used chown via putty to change the owner.