rdir does not take a mode argument