title: path /tmp does not correspond to a regular file
body: <p>this happens when I have </p>
  
  <ul>
  <li>an executable that is in the /tmp directory (say /tmp/a.out) </li>
  <li>it is run by a root shell</li>
  <li>linux</li>
  <li>selinux on (default for RedHat, CentOS, etc)</li>
  </ul>
  
  <p>Apparently trying to run an executable that sits in the /tmp/directory as root revokes the privileges. Any idea how to go around this issue, other than turning off selinux? Thanks</p>