The second option is where the state/county builds a prison or jail, owns the facility, possibly supplements some staffing, but contracts out the day-to-day operations to a for-profit company. This is what is more common as many states won't sell the actual facility and/or land. They just want someone to takeover the day-to-day operations so they don't have to worry about it.
Both are just as bad and both have occupancy based contracts.
This has the result that lots of mentally ill inmates - including myself - land in Western State Hospital at a cost to the taxpayer of $550.00 per day.
I've been taking psychiatric medicine since 1985; the very most I have ever paid for my happy pills was $1000.00 per month.
Because the contractor wants to save perhaps ten dollars per month, every mentally ill inmate goes cold turkey on their medicine when they are detained. Every prescriber I have ever met adamantly urged me never to stop my medicine suddenly. There are all kinds of ways that could lead to death but in my particular case I find myself in a very expensive nuthouse rather than an inexpensive slammer.
Like economists such as Zingales say, pro-market is not necessarily pro-business, and unions are a good way to gage what people actually support.
However it is hard for me to find work at all because I will not work for companies that I regard as unethical. Orion claims this implies that I regard ALL companies as unethical, but no, only certain specific ones.
My father and grandfather were union carpenters. They took pride in doing a good job.
https://www.youtube.com/watch?v=rUKlBejOlTU
That's in the public interest.