Instead, it appears to be something picked up as soon as you walk in the door. Inmates are usually black, low-income folk from urban areas. It goes to the heart of organizational matters. Survey after survey shows that guards actually believe in things like rehabilitation. They're optimistic about inmate chances for success when they get out.
Guards are, in fact, both loved and hated by inmates.
The two groups have a symbiotic relationship. There's some research indicating that if guards were allowed to have more input into the counseling and rehabilitation of inmates, they might do a better job. In fact, it actually lowers job satisfaction. This is because, in part, no bona fide job task analysis has ever been thoroughly conducted on the benefits of higher education, but another reason might be because employees with higher education have more career options than remaining in corrections work.