title: Are Chdir and Setuid and Setgid thread safe?
body: <p>Are <code>os. Chdir</code>, <code>os.Setuid</code> and <code>os.Setgid</code> thread-safe in Go?</p>
  
  <p>In otherwords, if I do a <code>os.Chdir</code> (or the other two functions) in two different goroutines running in parallel, is it going change directory for the working goroutine or the whole process (which can cause problems)?</p>
  
  <p>I couldn't find any information in the documentation.</p>