From: Ron Natalie <ron at brl-vgr> The problem with doing the setuid back before doing the exec is that then the program no longer has permission to exec the program so it will always fail. What the original submitter wnated was a "check the permissions to see if it's OK to exec, then setuid back" version of exec. -Ron