Fixed "permission denied" on setgid()

     # ./execwsock sdf
Got error while setgid(1): Operation not permitted.