Implementation of setuid / setgid, not well working right now