https://bugs.kde.org/show_bug.cgi?id=470222
Bug ID: 470222 Summary: kate is unable to view/open files owned by root nor does it prompt for password when trying to save a root owned file Classification: Applications Product: kate Version: 23.04.1 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: imthenacho...@gmail.com Target Milestone: --- SUMMARY >From what I have read, there are two ways to have `kate` open/edit root files but neither of them work. 1. `SUDO_EDITOR=kate sudoedit <file>` => Will open a blank file, that does not have the contents of `<file>`. In fact, terminal spits out the message `<file> unchanged` even before I exit kate. 2. `kate <file>` > save > enter password => Does not prompt for the password. If I try to `kate <file>` from a root terminal session, it spits out this message: > THIS IS POTENTIALLY INSECURE! > To edit files as root please use: > SUDO_EDITOR=kwrite sudoedit <file> According to https://www.reddit.com/r/kde/comments/bagrhp/how_to_save_file_as_root_with_kate_with_password/ this was disabled a few years ago but bugs/features for this were closed so I assume it should work. But it still doesn't. >From what I can gather, this is some sort of bug. I just don't know where. I can't tell if this is an issue with KDE or with openSUSE. STEPS TO REPRODUCE covered above OBSERVED RESULT covered above EXPECTED RESULT covered above SOFTWARE/OS VERSIONS OS: Linux openSUSE Tumbleweed 20230522 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Verson: 5.15.9 Kernel Version: 6.3.2-1-default (64-bit) Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.