Support specification of uid and gid