Porting to another Linux: some minor directory issues and running as root
Hello there!
I am keen to have this working on Arch Linux (because of course one of us was going to show up eventually)
Managed to get cmake config'd and output a makefile, then ran the makefile and landed with a neat little executable. Rather painless really so you should be commended :)
Only issue is the following error:

Having a quick grep I found the following lines in main.cpp:

So, the next logical question is what are these folders and what are the desired permissions?
As an aside, is there a way to run this as a non-root user?
If you do "sudo make install" those should be created.
Are simply the folders under /var/lib/piserver that are mentioned here: https://github.com/raspberrypi/piserver/blob/master/CMakeLists.txt#L93