Maybe the agent is running as a different user? Can you paste the console output?
Cheers, Aravind On Mon, Jul 22, 2019 at 03:22:40 -0700, Mark Lavagne wrote: > Hi everyone, > > Got a very strange problem here - CentOS 7 with GoCD agent and Stage in > GoCD as custom command, which is just running shell script (script is just > copying files from one folder to another). Proper ownership/permissions > were prepared. > > When I am running stage from GoCD console I am getting permission denied > for every file copy attempt. When I su as go user and execute exactly same > script - no issues registered and files are copied properly. > > Any ideas? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" 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/go-cd/0b2a2073-d468-4117-b461-70680df61f97%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "go-cd" 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/go-cd/20190730141643.k3vbvj6ftxndyc5b%40arvindsv.com.
