Create
cancel
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

Access denied error when running robocopy from the bamboo server.

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 Jul 04, 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

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 Jul 04, 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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 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