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

Changing umask for Remote bamboo agents

My dev team would like to change the umask under which the bamboo agents run so that people building plans can access their files after they have finished. The default is 022 and we need 002. Simply setting the umask in the script does not work. 

1 answer

Simon says:


You can override the default system wide umask value in the profile of each user. For example you can add the line:

umask 002

at the bottom of the .profile configuration file that is located in the home of the user that runs the remote agent. (Don't forget to start a new session after making the change or source the file in a new shell). Depending on which shell the user is using you may have to set the value in a different file. (For bash you can set it either in ~/.profile or ~/.bashrc. Note that the tilde means the home of the user that runs the agent).


Simon out

I have already tried this. I attempted to modify /etc/bashrc and /etc/profile as well without any luck. 

Suggest an answer

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

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

81 views 0 6
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