With a staffing emergency disrupting the basic functions of the jail system, detainees have had free rein inside.