Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ould not create file: D:\Bamboo\temp\bamboo-ssh.41538fd5.bat

achantasrinivas April 14, 2019

 

Hi,

 

I have installed Bamboo server and tried to run a maven project from bitbucket. But getting the below error. Gave all the permissions to temp folder. Still it is getting overridden and states permission denied. This is on windows laptop.

 

 

Recording an error: Plan 'MP-MP' could not be started. Exception: java.lang.RuntimeException: java.io.IOException: Could not create file: D:\Bamboo\temp\bamboo-ssh.41538fd5.bat : MP-MP : java.lang.RuntimeException: java.io.IOException: Could not create file: D:\Bamboo\temp\bamboo-ssh.41538fd5.bat

1 answer

0 votes
Rafael Pinto Sperafico
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2019

Hi @achantasrinivas ,

Please, make sure permissions were granted to the user running Bamboo's process.

If you are running Bamboo as a Windows Service, please make sure that "local" user as described in https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html has permissions over the given directory.

Alternatively, you can define a different temporary directory by adding a property to the JVM:

-Djava.io.tmpdir=/path/to/tmpdir

If you are running Bamboo as a Windows Service, this property must be added to the service as described in https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html

Otherwise, you can add the property to <bamboo-install>/bin/setenv.bat

Kind regards,
Rafael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events