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

Access denied error when running robocopy from the bamboo server.

Rick Morayniss July 4, 2019

I am running Bamboo on server A(it is also the building agent) after the artifact file is created I am trying to copy it using robocopy to server "B" and I get an access denied error. But if I run it form a standard command prompt, it works fine. I am logged into server "A" when I run it.

The command is pretty straight forward

c:\Atlassian\bamboo-home\xml-data\build-dir\FTD-BB-JOB1\BB_Test\Artifact \\serverB\c$\PreDeployment\

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 4, 2019

Hi @Rick Morayniss,

Welcome to the Community!

The Bamboo server will attempt to proform operations as whatever account is running the server instance (or the Windows Service on Windows).

Does the user that is running the Bamboo instance have appropriate permissions to execute the robocopy to server B?

I hope that helps!

-James

Rick Morayniss July 4, 2019

Thanks for the reply.

Do you mean my credentials, or the bamboo service credentials(in this case is "Local System Account"

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 4, 2019

Yes, if you are running as local system, you should change that to a service account (or yourself temporarily to prove it will work) that has permissions on both Server A & B.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events