Created attachment 136006 [details] Which user is this password for? SUMMARY I was trying to save a file from Kate in a directory in which the user Kate runs as, has no write permissions. At that point, the PolicyKit dialog popped up, asking for root privileges. That was confusing, because * that user does not have root privileges * the password PolicyKit was asking for, was the password for my main user, not the one Kate was running as STEPS TO REPRODUCE 1. Login as user `one` 2. Run Kate as user `two` 3. Save a file in a directory in which user `two` does not have write access
Can't reproduce on openSUSE Tumbleweed in which I get asked for the root password irrespective of how many administrator users there are. I suspect this stuff gets modified by the system policy. Can you confirm that there are multiple administrator users on the system, not just one? Also, does this happen in Discover too when you install or remove an app or perform updates?
Created attachment 136066 [details] Discover authentication prompt There is only one Administrator user, `one`. `two` is 'Standard'. When I install updates, I still don't see which user PolicyKit1 KDE Agent is asking for a password for. Maybe this is intended, and it didn't bother me, because I know I'm running Discover as the Administrator user, and have only one such user. When the same prompt is triggered from Kate, which is run as the Standard user `two`, I wasn't sure which user's password was demanded.
I see the problem now, thanks. When you say "Run Kate as user `two`", how are you doing this exactly? And does the problem reproduce if you actually log in as user `two`?
I used the KDE Menu Editor to create a separate entry for Kate, and checked "Run as different user" in the Advanced tab. If I log in as user `two` and I attempt to save in a directory without write access, I see the same prompt for root privileges. Typing the password for user `one` enables Kate to save the file. This makes me realize this is extra confusing: user `two` does not have root privileges, and may not necessarily know the username of any Administrator user (let alone the password).
Thanks, that makes sense.
That's a very descriptive title :) Maybe it should just show the username at all times? Might help folks who log in simultaneously into various machines.
I am getting the same issue, can someone please help?
Seems to be working as expected in 6.3