BrightcoveOS/Diamond — pull request #31 by bclermont (2012-02-22 18:31:49+00:00)
Title: set GID first

Only root can run ```os.setgid(gid)```.
But if UID is changed __before__ it fail:

```
ERROR: Failed to set UID/GID. [Errno 1] Operation not permitted
```