Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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 on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

943 views 3 8
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