directory modes