Looking for co-mentors for a GSoC Dolphin/KIO project

Elvis Angelaccio elvis.angelaccio at kde.org
Sun Jan 15 22:15:06 GMT 2017


On Sun, Jan 15, 2017 at 10:37 AM, David Faure <faure at kde.org> wrote:
> On samedi 14 janvier 2017 23:58:45 CET Elvis Angelaccio wrote:
>> Hi,
>> I played a bit with kauth in the file ioslave [1] and everything seems
>> to work nicely :)
>> [2] is a patch for kio that allows to delete file:// URLs upon polkit
>> authentication.
>>
>> The helper just calls unlink(). In the patch I call the helper (from
>> the ioslave) only if unlink() failes with EACCES or EPERM errors.
>> This could be seen as code duplication (because we have unlink in two
>> places), one of the things Aleix was afraid of. On the other hand, why
>> call an helper process if you don't need it?
>
> Well, let me just say, this is seriously cool. Nice job, Elvis!

Thanks :)

Btw, is there a reason why the implementation of the file ioslave is
splitted in unix and windows backends that use native stuff?
Hystoric reasons? Or QFile is missing something?

>
> --
> David Faure, faure at kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>




More information about the kfm-devel mailing list