add chmod entries & mode