https://bugs.kde.org/show_bug.cgi?id=383159
Bug ID: 383159 Summary: Polkit support for opening root owned file without read permissions Product: kate Version: 17.04.3 Platform: Manjaro OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: application Assignee: kwrite-bugs-n...@kde.org Reporter: polarathene-sig...@hotmail.com Target Milestone: --- I've noticed and really appreciate the recent polkit support for running Kate without root permissions to open a root owned file and be prompted for password to save changes, this is great! I have opened a file from /var/log/libvirt/qemu/vmname.log that Kate refused to read due to not having read permissions, whereas /etc/default/grub I guess does. Could it be possible to also support this usecase like writing a file as root is now supported? Ideally, I could just browse to the location and select the file in Dolphin as I do now, then Kate will be able to open it with a polkit password prompt to continue. I am presently using the following command to workaround this(-n flag avoids issues caused by having an existing Kate window open, for editing grub config file and current support, using the same Kate window wasn't an issue like it is with sudoedit): EDITOR="kate -n" sudoedit /path/to/file.log -- You are receiving this mail because: You are watching all bug changes.