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

0 votes

Hello Susan, 

You can run ssh command to change permissions of file at remote host. More details in documentation

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,076 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot