08f606dddb
gid to -1.) Don't bother checking 'unpriv' when it's redundant with the uid/gid == -1 check. (Doing the uid/gid handling consistently also fixes the directory-creation code, which didn't check unpriv and did chmod/chown anyway.) One minor spaces/tabs cleanup at one of the uid/gid checks.