Show error when opening a syscap fails due to missing priviledges
Hej! When a syscap file is created with sudo sysprof-cli
the owner of the file is root
. When now trying to open the capture as an unpriviledged user via the GUI, Sysprof currently just silently fails, leaving only an error message print on the CLI. It would be more user-friendly to transform this into a popup that displays the warning.
Tested with current master.