title: What is the default user that codedeploy runs the hook scripts as?
body: <p><strong>Background:</strong> I am facing this error <a href="https://stackoverflow.com/questions/38616547/aws-codedeploy-deployment-throwing-stderr-could-not-open-input-file-at-after">AWS codedeploy deployment throwing &quot;[stderr] Could not open input file&quot; while trying to invoke a php file from the sh file at afterInstall step</a></p>
  
  <p>In the afterInstall step, I am trying to run a php file from the afterInstall.sh file and I am getting this error - unable to open php file.</p>
  
  <p>I am not sure what exactly to do. Thought of trying to manually check if I could run the file as that user.</p>