Q:

Automated Deployment not working

I'm following the guide here, to automate the deployment of my bitbucket repo.
However, though the POST hook seems to work, and the log file is created - no files are pulled. Comments in the attached link discuss permissions as being a possible issue.
I've done a few chown's, but with no luck.
Any suggestions on how to fix? Is this something only my hosting company can solve? What do I ask them to change?
Thanks.

A:

looks to be a permissions issue.
by running this code: 
<? print "hello world<p>\n"; system("id"); ?> 

I got this output = 
uid=99(nobody) gid=99(nobody) groups=99(nobody) context=system_u:system_r:initrc_t:s0 

whereas, on my other working server, the owner was my account user account.
Not sure how to actually resolve that - but at least the root cause is known.
EDIT: issue was solved by having the hosting company enable Suexec. This allows the PHP scripts to run under my ID, not that of nobody.

