Remove chmod duplicated method