Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo: Cannot run program "/bin/go", Permission denied

Also, I tried run like:

sudo bin/

When I run build, I have exception: 

(Debian 9) 

2018-07-21 19:25:23,735 INFO [18-BAM::Default Agent::Agent:pool-32-thread-1] [TaskResultBuilder] Process exception: 

com.atlassian.utils.process.ProcessNotStartedException: /bin/go could not be started

at com.atlassian.utils.process.ExternalProcessImpl.start(

at com.atlassian.utils.process.ExternalProcessImpl.execute(

at com.handcraftedbits.bamboo.plugin.go.task.common.ProcessHelper.executeProcess(

at com.handcraftedbits.bamboo.plugin.go.task.common.ProcessHelper.executeProcess(


at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$2(

at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(

at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(

at com.atlassian.bamboo.task.TaskExecutorImpl.execute(





at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(



at com.atlassian.bamboo.utils.BambooRunnables$





Caused by: Cannot run program "/bin/go" (in directory "/root/bamboo/xml-data/build-dir/FBACKEND-MAIN-JOB1/src/FBackend"): error=13, Permission denied

at java.lang.ProcessBuilder.start(

at com.atlassian.utils.process.ExternalProcessImpl.createDefaultProcess(

at com.atlassian.utils.process.ExternalProcessImpl.createProcess(

at com.atlassian.utils.process.ExternalProcessImpl.start(

... 20 more

Caused by: error=13, Permission denied

at java.lang.UNIXProcess.forkAndExec(Native Method)

at java.lang.UNIXProcess.<init>(

at java.lang.ProcessImpl.start(

at java.lang.ProcessBuilder.start(

... 23 more


2 answers

builds are run as the user configured to run the bamboo service (or whichever account started bamboo if you are not running it as a background service)

Figure out what user ID the bamboo process is owned by, and then make sure that same process id has permissions to execute whatever script/binary you are trying to use in a build plan -- in your example /bin/go.

If need be, fix the permissions on /bin/go so that they can be executed by the appropriate user.

0 votes
Foong Atlassian Team Jul 22, 2018

Try running the following command in the directory "/root/bamboo/xml-data/build-dir/FBACKEND-MAIN-JOB1/src/FBackend"

sudo /bin/go

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

59 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you