Bug 484120

Summary: Sudo failed: On some systems, you need to be in a special group (often: wheel) to use this program
Product: [Applications] partitionmanager Reporter: vit.musienko <vit.musienko>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Neofetch screenshot

Description vit.musienko@gmail.com 2024-03-21 02:19:11 UTC
Created attachment 167536 [details]
Neofetch screenshot

SUMMARY
KDE Partition Manager doesn't let user through after entering root password when elevated access is requested.
Error: On some systems, you need to be in a special group (often: wheel) to use this program.

STEPS TO REPRODUCE
1. Install the from plasma-discover 
2. Launch
3. Get prompted for root password, enter it
4. ...
5. See an error 

OBSERVED RESULT
Error

EXPECTED RESULT
App launches

SOFTWARE/OS VERSIONS
attached neofetch

ADDITIONAL INFORMATION
Comment 1 vit.musienko@gmail.com 2024-03-21 02:49:45 UTC
I have to say, that you can click Ignore, and the next prompt asks for the user password instead, and that succeeds. I was able to do disk modifications that way.
Comment 2 Andrius Štikonas 2024-03-22 01:50:09 UTC
We don't use sudo, we use polkit. Group or which user you need to be generally depends on your polkit configuration in /etc/polkit-1/rules.d, so that's mostly outside the scope of partition manager.

partitionmanager asks polkit for auth_admin_keep option. And if distro does not have root user I think it's up to distro to correctly configure polkit.