changed protect.c chmod