On Thu, Apr 5, 2012 at 5:52 AM, nexenator <[email protected]> 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
      [email protected]

Reply via email to