title: jenkins build failure shell command permission denied
body: <p>I am trying to run shell build command on mac but I get <code>permission denied</code> for e.g. <code>ls /Users/...</code> command.</p>
  
  <p>I see <code>whoami</code> is <code>jenkins</code>, which is different for my uesr login?</p>
  
  <p>I read online I need to run chmod for jenkins user, how do I do that?</p>
  
  <p>I changed file permission using chmod 777?</p>
  
  <p>Do I need to change jenkins user?</p>