delete change in 7.16, only clear setuid and setgid bits if euid != 0;