Web lists-archives.com

Re: Suggestion to Remove KFloppy and hold back K3b




Am 2017-02-23 00:08, schrieb Boudhayan Gupta:
Hi Martin,

Is there some sort of logic possible with a combination of suid-root
and seccomp? I think if we probe devices via solid, that'll need to
have a QApplication instantiated and we'd have to drop root privileges
before we init that.

Se my other mails: just creating the QApplication as root exposes a severe risk. And there is nothing we can do about it from application side.

int main(int argc, char *argv[])
{
QApplication app(argc, argv);
// now we are owned on X11
return app.exec();
}

Cheers
Martin


Thanks,
Boudhayan

Freundliche Grüße
Boudhayan Gupta
KDE e.V. - Sysadmin and Community Working Groups
+49 151 71032970


On 22 February 2017 at 23:22, gregor.mi.sw <codestruct@xxxxxxxxxx> wrote:
On 22.02.2017 23:17, Emmanuel Pescosta wrote:
2017-02-22 22:42 GMT+01:00 Martin Steigerwald <martin@xxxxxxxxxxxx <mailto:martin@xxxxxxxxxxxx>>:

I wonder whether it makes sense to make it a more generic format tool that can also format USB sticks. Then it may make sense to give it a more generic name.


This sounds like a good idea!

... and a great opportunity for Dolphin. Maybe we can integrate it nicely into Dolphin e.g. by providing context menu actions for removable/floppy devices, so that a user
can easily format her pen drive.

Cheers,
Emmanuel

Great idea :). For some time now I am looking for an intuitive tool which I can show novice users to format an USB stick or external harddrive.

Gregor