Check read only access in SG_IO code path