[kio] src/ioslaves/file/kauth: Do not cache root password for the whole session

chinmoy ranjan chinmoyrp65 at gmail.com
Fri Jan 12 16:35:30 UTC 2018


>I just tested this in my session:
>
>kioclient5 copy <file> /mnt
>
>Prompt appears, all OK.
>
>Now I do this again in the same session, after removing the file:
>
>kioclient5 copy <file> /mnt
>
>No password prompt and the file is copied anyway.

I executed the commands in the same order on a new VM and I am getting
proper prompts (with persistence=session).

There's one thing I don't understand, how did you execute two kioclient
commands in one session? I mean, as soon as one kioclient5 command finishes
the session ends and for the next command there will be a new session. Am I
wrong? If not then there should be a password prompt (persistence value
doesn't matter) shown right after every call to kioclient5.
Since you didn't get  a password prompt the second time, it seems to me its
more likely a issue with your setup. Is there any way we can confirm if
this depends on local setup or not? Meanwhile, can you try using
kioslavetest. Maybe that will work properly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180112/80ae3041/attachment.html>


More information about the Kde-frameworks-devel mailing list