I changed it to "until end of session" and clicked on "Apply", but after next restart it is switched back to "Ask for confirmation"
This was actually a bug in kio, and should be fixed since KDE Frameworks 5.42.0. *** This bug has been marked as a duplicate of bug 386325 ***