Flatpak program (FreeCAD) running itself as superuser?

6 months ago by empireOfLove2 to c/linux

I run Debian 13 with MATE. I recently switched from the distro release to the flatpak version of FreeCAD, as the distro release is of course a few versions behind. Bear with me, as I am very new to using Flatpak or anything other than normal apt packages.

I just noticed that FreeCAD announces it is running as super user in the window title bar.

The interesting part is it doesn't ask for privilege escalation with password entry when I launch it.

Seeing as FreeCAD never ran as SU with the distro release installed via apt, and I don't think the program does anything that really needs SU... As much as I trust FreeCAD, this seems like a security hole I'd rather not have.

Is the Flatpak version running inside it's own "box" and it isn't getting SU permissions across my whole system? Or what am I missing here.

load all comments
IanTwenty 20 points 6 months ago

Looks like this long-standing issue affecting all flatpaks run under MATE/marco:

https://github.com/mate-desktop/marco/issues/301

Applications launched under Firejail and Flatpak include "(as superuser)" in their window's title even though they're not actually being ran as root.

path: 0 21413734, hotness: undefined, score: 20, children: 2
boredsquirrel 2 points 6 months ago

Likely because of user namespace access

path: 0 21413734 21419932, hotness: undefined, score: 2, children: 0
empireOfLove2 2 points 6 months ago

Ah okay. And makes sense seeing as it does not ask for escalation at launch. I probably won't worry about it then. Thanks!!

path: 0 21413734 21419979, hotness: undefined, score: 2, children: 0
linux
linux

@programming.dev

login for more options
14061
4818
3571

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

go to feed...