add chmod to cmd & srv env