Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Martin Gräßlin
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 ot

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread 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. Thanks, Boudhayan Freundliche Grüße Boudhayan Gupta KDE

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread gregor.mi.sw
On 22.02.2017 23:17, Emmanuel Pescosta wrote: > 2017-02-22 22:42 GMT+01:00 Martin Steigerwald >: > > 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 >

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Wolfgang Bauer
Am Mittwoch, 22. Februar 2017, 22:01:01 schrieb Martin Gräßlin: > The attack surface is exactly the same as any other X application. It's > X itself which will make this exploitable. Yes, obviously, and that's clear to me too. I won't comment on the rest, because it's not specific to kfloppy as y

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Emmanuel Pescosta
2017-02-22 22:42 GMT+01:00 Martin Steigerwald : > 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

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Wolfgang Bauer
Am Mittwoch, 22. Februar 2017, 22:42:01 schrieb Martin Steigerwald: > Am Mittwoch, 22. Februar 2017, 20:07:09 CET schrieb Wolfgang Bauer: > > Am Mittwoch, 22. Februar 2017, 01:07:42 schrieb Boudhayan Gupta: > > > I really don't see why this has to exist. Anyone who uses floppies in > > > this day a

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Albert Astals Cid
El dimecres, 22 de febrer de 2017, a les 1:07:42 CET, Boudhayan Gupta va escriure: > I really don't see why this has to exist. Anyone who uses floppies in > this day and age knows how to use a command line to do a low level > format. Anything else can be done using the usual tools - KParted, > etc

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Martin Steigerwald
Am Mittwoch, 22. Februar 2017, 20:07:09 CET schrieb Wolfgang Bauer: > Am Mittwoch, 22. Februar 2017, 01:07:42 schrieb Boudhayan Gupta: > > I really don't see why this has to exist. Anyone who uses floppies in > > this day and age knows how to use a command line to do a low level > > format. > > Ma

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Martin Gräßlin
Am 2017-02-22 20:18, schrieb Wolfgang Bauer: Am Dienstag, 21. Februar 2017, 18:55:00 schrieb Nicolás Alvarez: > On Feb 15, 2017, at 17:58, Wolfgang Bauer wrote: > > Am Mittwoch, 15. Februar 2017, 22:21:19 schrieb Martin Gräßlin: >> Please do not consider starting a GUI application as root a pos

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Wolfgang Bauer
Am Mittwoch, 22. Februar 2017, 20:54:02 schrieb Wolfgang Bauer: > But the difference is probably the '-I' option, adding this would of course > be simple... > For the record, this is what the man page says: > -I It is typical for fixed disk devices to be partitioned so, by > default, yo

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Wolfgang Bauer
Am Freitag, 17. Februar 2017, 17:33:02 schrieb Jonathan Riddell: > I'm in the disk user group. I'm using KDE neon which is Ubuntu 16.04 > as base. The drive is external and attached by USB. > > fdformat doesn't work from the command line > > >fdformat --no-verify /dev/sdc > > fdformat: could n

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Wolfgang Bauer
Am Freitag, 17. Februar 2017, 17:34:39 schrieb Jonathan Riddell: > If the user doesn't have the privilages best response is to show an error > dialog saying what needs done to give the user the privilages. Right, I agree that the error handling (for this case in particular) should be improved. k

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Wolfgang Bauer
Am Dienstag, 21. Februar 2017, 18:55:00 schrieb Nicolás Alvarez: > > On Feb 15, 2017, at 17:58, Wolfgang Bauer wrote: > > > > Am Mittwoch, 15. Februar 2017, 22:21:19 schrieb Martin Gräßlin: > >> Please do not consider starting a GUI application as root a possibility. > > > > Ok, but partitionman

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Wolfgang Bauer
Am Mittwoch, 22. Februar 2017, 01:07:42 schrieb Boudhayan Gupta: > I really don't see why this has to exist. Anyone who uses floppies in > this day and age knows how to use a command line to do a low level > format. Maybe, but using a GUI is more comfortable and you don't have to remember which t

Re: Suggestion to Remove KFloppy and hold back K3b

2017-02-22 Thread Nicolás Alvarez
> On Feb 15, 2017, at 17:58, Wolfgang Bauer wrote: > > Am Mittwoch, 15. Februar 2017, 22:21:19 schrieb Martin Gräßlin: >> Please do not consider starting a GUI application as root a possibility. > > Ok, but partitionmanager does exactly that. It restarts itself as root if run > as user. > So t