fix var for dn and nm dir ownership