title: Elastic Beanstalk platform hook fails with "permission denied"
body: <p>When deploying an Elastic Beanstalk application, one of my hooks fails with &quot;permission denied&quot;.  I get the following in <code>/var/log/eb-engine.log</code>:</p>
  <blockquote>
  <p>[INFO] Running platform hook: .platform/hooks/predeploy/collectstatic.sh</p>
  <p>[ERROR] An error occurred during execution of command [app-deploy] - [RunAppDeployPreDeployHooks]. Stop running the command. Error: Command .platform/hooks/predeploy/predeploy.sh failed with error fork/exec .platform/hooks/predeploy/predeploy.sh: permission denied</p>
  </blockquote>
  <p>How do I fix this?</p>