title: Unable to edit file through sudo permission
body: <p>I am trying to setup sudo permission for an account to have full access to  all files under certain directory.</p>
  
  <p>I have made the following entry in sudoers file</p>
  
  <pre><code>itg ALL= NOPASSWD: /apps/pgm/admin/
  </code></pre>
  
  <p>The file which I trying to modify and execute under /apps/pgm/admin/ path has the following permssion. </p>
  
  <blockquote>
    <p><code>-rwxr--r-- 1 root root 6034 Oct  2 02:00 ptTomcat.ksh</code></p>
  </blockquote>
  
  <p>Though I am able to execute the above script through sudo, when I try to edit this file through sudo I am getting the following error</p>
  
  <p>Sorry, user itg is not allowed to execute '/bin/vi /apps/pgm/admin/ptTomcat.ksh' as root
  I am running Linux</p>
  
  <p>Any thoughts?</p>