How to deploy (SCP copy, linux) a 'C' executable file with executable permissions

(New to Bamboo) We have a large project directory tree we want to deploy – which contains compiled C/C++ executable binary files, executable shell scripts, as well as compiled JAVA code. We've got it to compile and to deploy to a remote machine, but none of the C/C++ executables have executable permissions. Ditto for the shell scripts. For the shell scripts, we can commit and pull them from git with executable permissions, so why does Bamboo not follow suit? More importantly, how do we deploy so that our files, C-executable and shell scripts, have executable permissions?

2 answers

This widget could not be displayed.

Hello Susan, 

You can run ssh command to change permissions of file at remote host. More details in documentation https://confluence.atlassian.com/display/BAMBOO/Using+the+SSH+task+in+Bamboo

This widget could not be displayed.

Yes, we've started doing that. But, because we have scripts and executables in a number of places, it is irritating.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

303 views 1 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you