title: Installing a binary to the PATH of a Google Composer worker node
body: <p>I have an Apache Airflow workflow which needs a 3rd party binary to be installed on the worker node that runs the airflow.</p>
  <p>To do this, I followed the following steps:</p>
  <ol>
  <li><p>SSH into the worker instance</p>
  </li>
  <li><p>Downloaded and extracted the binary</p>
  </li>
  <li><p>Set the required environment variables and updated the <code>PATH</code> variable in the <code>.bash_profile</code> file available in my home directory as below:</p>
  <p><code>export HIVE_HOME=/home/sagunawardhana_virtusa_com/apache-hive-3.1.2-bin PATH=$PATH:$HIVE_HOME/bin</code>
  <code>PATH=$PATH:$HIVE_HOME/bin</code></p>
  </li>
  </ol>
  <p>When I try to execute the binary <code>beeline</code> in a shell (which is available in the directory <code>$HIVE_HOME/bin</code>) I get the following error:</p>
  <pre><code>-bash: /home/mygmailaccount/apache-hive-3.1.2-bin/bin/beeline: Permission denied
  </code></pre>
  <p>All sufficient permissions have been granted to the relevant binary including <code>chmod +x $HIVE_HOME/bin/beeline</code></p>
  <p>I want this executable to be available to the account that runs my workflow</p>