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 Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

151 views 3 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