I have a wordpress site set up and a jenkins job to deploy the code to the wordpress site.
The wordpress site directory needs the permission of the user www-d