| Summary: | since the last updates kate no longer can open text files under root | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | peter lawford <petlaw726> |
| Component: | RPM Packages | Assignee: | KDE maintainers <kde> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | fri, mageia, marja11, rolfpedersen |
| Version: | 6 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
peter lawford
2018-05-19 01:11:35 CEST
Marja Van Waes
2018-05-19 08:57:27 CEST
CC:
(none) =>
marja11 this is not a bug, this is the wanted behaviour by kde upstream. see https://cgit.kde.org/kate.git/commit/?id=9adcebd3c2e476c8a32e9b455cc99f46b0e12a7e CC:
(none) =>
mageia (In reply to Nicolas Lécureuil from comment #1) > this is not a bug, this is the wanted behaviour by kde upstream. > > see > https://cgit.kde.org/kate.git/commit/ > ?id=9adcebd3c2e476c8a32e9b455cc99f46b0e12a7e this contradicts the action of the package kde-rootactions-servicemenu, which belongs to the official repos of mageia (and surely of others distribs) (In reply to peter lawford from comment #0) > Description of problem: > here an example which explain the situation: > > [root@magaux alain4]# kate /boot/grub/menu.lst > Executing Kate as root is not possible. To edit files as root use: > SUDO_EDITOR=kate sudoedit <file> > [root@magaux alain4]# > > executing: [root@magaux alain4]# sudoedit /boot/grub/menu.lst > > opens this file with vim, which is not the desired action > sometimes, opening a file as text with kate or kwrite gives a clearer view > of this file > [rolf@z68x ~]$ SUDO_EDITOR=kate sudoedit /etc/urpmi/skip.list opens the file with kate, allows an edit and a save. [rolf@z68x ~]$ ll /etc/urpmi/skip.list -rw-r--r-- 1 root root 168 May 19 05:29 /etc/urpmi/skip.list CC:
(none) =>
rolfpedersen |