Custom command and Linux

34 views
Skip to first unread message

Mark Lavagne

unread,
Jul 22, 2019, 6:22:40 AM7/22/19
to go-cd
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!

Aravind SV

unread,
Jul 30, 2019, 10:16:48 AM7/30/19
to go...@googlegroups.com
Maybe the agent is running as a different user?

Can you paste the console output?

Cheers,
Aravind
> --
> 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 go-cd+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/0b2a2073-d468-4117-b461-70680df61f97%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages