On Thu, Apr 5, 2012 at 5:52 AM, nexenator <s...@istylr.com> wrote:
> This is what the script looks like:
>
> #!/bin/bash
> cp -r -p -u /var/lib/jenkins/jobs/-project-name-/workspace/somedir/*
> /destination-path/somedir
> ...
>
> The console output is as follows:
> ...
> cp: accessing `destination-path/somedir': Permission denied
> ...

So make destination-path/somedir accessable to and writable by the
jenkins user...

-- 
   Les Mikesell
      lesmikes...@gmail.com

Reply via email to