set proper socket perms