PhD student here -
At my last university a permanent lectureship went to someone who just did a post-doc at the same university which they did straight after their PhD (at an RG type place).
The subject is a core humanity type subject , and the specialisms they were looking for were extremely broad - I'm pretty sure there would have been hundreds of applications (I know of others myself). I very rarely see jobs like that advertised. The successful applicant didn't have any proper peer reviewed publications and nothing forthcoming. They were friends with a few faculty members.
I'm sure the lecturer is well qualified, but it seemed odd that they could get a permanent job with so few publications at a fairly prestigious faculty (where many have PhDs from US Ivey League, and often well known in the field). We are frequently told its unlikely we will ever get a permanent academic job, and certainly not without reams of publications and years of teaching.
I don't want to jump to accusations - this wasn't something that affected me personally, and I feel we shouldn't do each other down. But as a PhD student, I just feel a bit down about the prospect of applying for jobs at some point, if they go to friends and former colleagues - even if you have a handful of pubs and good experience and make a competitive application ect. Is this what tends to happen?