title: Change owner of a currently running process
body: <p>I have a process that is currently running with <em>pid</em>, <code>$PID</code>, and owned by the <em>user</em> <code>foo</code> which is <strong>not root</strong>. I want to transfer the ownership of this process to another <em>user</em> <code>bar</code> which is also <strong>not root</strong>. </p>
  
  <p>Is there a shell command that changes the owner of a process? I'm thinking of a <code>chown</code> but for processes that looks something like.</p>
  
  <p><code>chownproc [option] PID</code> </p>
  
  <p><a href="https://stackoverflow.com/questions/428920/changing-the-owner-of-an-existing-process-in-linux">This question</a> and <a href="https://stackoverflow.com/questions/8140884/change-user-owner-of-process-on-mac-linux">this question</a> are similar, but not quite what I'm looking for and <code>chown</code> man pages doesn't say anything about processes, only files.</p>
  
  <p>If there isn't, is there a reason why this hasn't been done or isn't possible?</p>