Bug 23056 - since the last updates kate no longer can open text files under root
Summary: since the last updates kate no longer can open text files under root
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-19 01:11 CEST by peter lawford
Modified: 2018-05-19 14:42 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description peter lawford 2018-05-19 01:11:35 CEST
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

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Marja Van Waes 2018-05-19 08:57:27 CEST

CC: (none) => marja11
Assignee: bugsquad => kde

Comment 1 Nicolas Lécureuil 2018-05-19 09:37:58 CEST
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
Resolution: (none) => WONTFIX
Status: NEW => RESOLVED

Comment 2 peter lawford 2018-05-19 13:09:23 CEST
(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)
Comment 3 Rolf Pedersen 2018-05-19 14:38:34 CEST
(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

Comment 4 Morgan Leijström 2018-05-19 14:42:27 CEST
Also see Bug 23054 - since the last "massive" update, kde-rootactions-servicemenu is ineffective

CC: (none) => fri


Note You need to log in before you can comment on or make changes to this bug.