change directory's access mode recipe