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

Susan Hinton June 30, 2015

(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
Susan Hinton July 1, 2015

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

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events