chmod hooks's files