Summary: | In System Settings, cannot delete other users | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | nyanpasu64 <nyanpasu64> |
Component: | kcm_users | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, nicolas.fella, uhhadd |
Priority: | VHI | ||
Version: | 5.24.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/2b9ea88c9d3fe7b7530c20e0a6fe1bf70d0accde | Version Fixed In: | 5.24.2 |
Sentry Crash Report: |
Description
nyanpasu64
2022-02-13 05:25:41 UTC
Are you getting a Polkit password prompt? I do not get a Polkit password prompt. (Note that I have Polkit setup to use a 2FA authenticator dongle or a password. I'm also using systemd login if that's relevant.) If I run systemsettings5 in a terminal, nothing pops up when I click "Delete files" or "Keep files" (though clicking between pages creates lots of QML warnings). Nothing appears in the journalctl either. Am I missing a KDE system package? Is polkit-kde-agent installed? Does running "pkexec ls" produce a password prompt? (In reply to Nicolas Fella from comment #3) > Is polkit-kde-agent installed? Yes. And opening KWrite and trying to save a file in /dev/ pops up a password prompt. > Does running "pkexec ls" produce a password prompt? Yes. If I cancel the prompt I get: > Error executing command as another user: Not authorized > > This incident has been reported. It's the same root cause as https://bugs.kde.org/show_bug.cgi?id=449385 the fix for it is just incomplete A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1461 Git commit 79113d99e44ace405bd9211e2c0f73659ff94c0f by Nicolas Fella. Committed on 16/02/2022 at 12:38. Pushed by nicolasfella into branch 'master'. [kcms/user] Set interactive auth flag for more calls Creating and deleting users needs that too This also means that we need to be more correct with the types passed into the DBus calls since with passing the args as list we don't get implicit conversion to the correct type any more FIXED-IN: 5.24.2 M +12 -3 kcms/users/src/kcm.cpp M +1 -1 kcms/users/src/kcm.h https://invent.kde.org/plasma/plasma-workspace/commit/79113d99e44ace405bd9211e2c0f73659ff94c0f Git commit 2b9ea88c9d3fe7b7530c20e0a6fe1bf70d0accde by Nicolas Fella. Committed on 16/02/2022 at 12:39. Pushed by nicolasfella into branch 'Plasma/5.24'. [kcms/user] Set interactive auth flag for more calls Creating and deleting users needs that too This also means that we need to be more correct with the types passed into the DBus calls since with passing the args as list we don't get implicit conversion to the correct type any more FIXED-IN: 5.24.2 (cherry picked from commit 79113d99e44ace405bd9211e2c0f73659ff94c0f) M +12 -3 kcms/users/src/kcm.cpp M +1 -1 kcms/users/src/kcm.h https://invent.kde.org/plasma/plasma-workspace/commit/2b9ea88c9d3fe7b7530c20e0a6fe1bf70d0accde A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4526 Git commit 95d495164bfaee45dde7588aae7fa467b100a4d9 by David Edmundson, on behalf of ivan tkachenko. Committed on 12/08/2024 at 09:15. Pushed by davidedmundson into branch 'master'. kcms/users: Remove workaround for QTBUG-100458 The new API has been shipped in Qt 6.7.0 Effectively reverts 79113d99e44ace405bd9211e2c0f73659ff94c0f and efddc639b7f1443e643787e841893a5700f07742 Related: bug 449385 M +4 -11 kcms/users/src/kcm.cpp M +18 -25 kcms/users/src/user.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/95d495164bfaee45dde7588aae7fa467b100a4d9 |