Regards
Pradeep
su -l jenkins -s /bin/bash -c 'cp /var/lib/jenkins/workspace/xxx/index.php /var/www/html/tmp/'
cannot create regular file ‘/var/www/html/tmp/index.php’: Permission denied
‘/var/www/html directory normally requires root privileges to update. Doing so as user Jenkins is not going to work unless you have altered the directory permissions (highly non-advisable) to match.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/2d7c85fc-86d5-44c8-bae7-22ea4ba9231e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.