There are permanent non-professoral university positions that I would still count as academia. My PhD advisor, for example, was not given tenure. He officially now is responsible for lab security (as a theoretical physicist). I have been at two physics institutes that had a permanent position...