You can check in the server console # su -l jenkins -s /bin/bash -c 'cp /location/path1/file1.txt /location2/path2/file1.txt'
On Thursday, April 21, 2016 at 11:53:59 PM UTC+3, Pradeep Patra wrote: > > Hi all, > . I have created a Jenkins server (master) and tried copying from one > location/path of jenkins server to another location a Perl script within > the same server. I have changed all the file/ folders for Jenkins > user/group(chown,chgrp)and restarted the Jenkins server. While copying > files I an getting error " regular file cp failed: Permission denied error > after trigerring the Jenkins job which uses script to copy files. Can > anyone help in this please? > > Regards > Pradeep > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d34510b8-d16d-423e-8450-d3c93a38f913%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
