Or at least the tests?
Our code is not usually expecting to be run as root, and there's at least one test that fails because of that
https://invent.kde.org/frameworks/kconfig/-/merge_requests/91
I think it would be a good idea to run tests as a "normal user" if possible since it resembles more the actual environment tests are supposed to be run.
If it's hard to fix i guess we can "workaround" it in code like that MR above.