While it certainly shouldn’t be copyright infringement, or worthy of jail time, publishing someone else’s research is kind of a shitty thing to do. I believe in open science, and I think everyone should share as much of their research as possible, but I’m not sure I like extending that to sharing someone else’s research.