Bug 480156

Summary: Kate fails to privilege escalate when saving root-only files
Product: [Applications] kate Reporter: Kotori Itsuka <cmdrkotori2>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: qt6
Priority: NOR    
Version: 24.01.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screencast of saving a config file to /etc

Description Kotori Itsuka 2024-01-22 07:25:32 UTC
Created attachment 165117 [details]
Screencast of saving a config file to /etc

SUMMARY
Kate fails to privilege escalate when saving files under /etc

STEPS TO REPRODUCE
1. kate /etc/somefile
2. File->Save
3. Type password, press enter

OBSERVED RESULT
Prompt about unable to save

EXPECTED RESULT
File saved

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch testing with kde-unstable repo
(available in About System)
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
It has been failing the last few months or so. I know that it worked in Plasma 5, I've been editing system configs this way for ages. For now I have to sudo vim from a console.
Comment 1 Antonio Rojas 2024-01-22 09:30:02 UTC

*** This bug has been marked as a duplicate of bug 479955 ***