Linux capabilities and file handling conflict

I made a TestStep for CAN Interface configuration on Linux, based on the SocketCanSharp Library. As I most likely need advanced settings, I chose to do the configuration throught netLink.

The problem is this configuration needs cap_net_admin permissions. If I grant this permisson to the new Editor, makes me unable to open and save testplans. Obviously if I make a testplant with permissions, and use it for developing a new testplan, than close the editor, temporaly remove permissions and than remake the same testplan which I can save and use it. But it’s just a workaround, not a solution.

Has anyone had similar issues? Does anyone has an idea to resolve this?

From what I currently understand xdg-deskopt-portal and Avalonia file choser settings are the main issue. They doesn’t allow access as a priviliged user, and are not editable.

Also I would rather avoid, writting a separate app for CAN configuration, which I would call from my testStep.

Mate