Yes, it ran as root. It ran with setuid/setgit and setcap later, after I figured out that everytime I run the program from QtCreator via Run it builds and replaces the old executable with a new one without special privilegesI ran it from the build folder and everything was fine.
Bookmarks