Setting executable flag that keeps getting unset again.