only use udc when opening read-only