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

Wrong file permissions when bamboo job checkout


I have a plan in bamboo - and the first task is to check out a repository.

(the git server is bitbucket server)

When I checkout manually, and when the bamboo does the checkout I get different file permissions:


drwxrwxr-x 8 bamboo bamboo 4096 Feb  6 14:57 rootfs



drwxr-x--- 8 bamboo bamboo 4096 Feb 6 15:01 rootfs


What is going on there? I need the bamboo to checkout with the same permissions






2 answers

1 accepted

3 votes
Answer accepted
Foong Atlassian Team Feb 12, 2019

The latest Bamboo have a setting that affect the file permission.

Edit the file <bamboo-install>/bin/ for the following line to change the permission:

# Set UMASK unless it has been overridden
if [ -z "$UMASK" ]; then
umask $UMASK

Bamboo have to be restarted after the modification.

0 votes
jredmond Atlassian Team Feb 06, 2019

Git only tracks the executable bit and the file type in a file mode - it doesn't track ownership or the read or write bits, so those parts are left to the client to determine. You'll need to ask this in the Bamboo section.


1. There are differences also in executable attributes

2. So if so, why is the differences between the bamboo does the cloning and when I am doing it (in the same path)



Suggest an answer

Log in or Sign up to answer
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...

200 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