Root instance of konqueror does not allow for editing files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebase (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: konqueror
System:
I'm using Kubuntu 7.10 installed from the Desktop livecd and the system is fully updated.
Desired action:
In a root instance of the konqueror file manager, right-click on a file and choose an editor to edit the file as root ("open with ..").
Product:
Changes to the file were disallowed due to insufficient privileges
Steps to reproduce this bug:
1) Launch a root instance of the Konqueror file manager, run: kdesu -c 'konqueror --profile filemanagement /root'
2) In the new konqueror window, right-click on any text file and choose "Open with" > Kate or any other text editor
3) The file will be opened in the text editor and you can make changes to the file, but saving will not be allowed due to insufficient privileges
It is my opinion that a root instance of the konqueror file manager should also allow root to edit files via the context menu of that window. To be able to use Kate to edit a file as root from a root instance of Konqueror in Gutsy, I had to write a new service menu as follows:
[Desktop Entry]
Version=0.1
Encoding=UTF-8
Actions=
ServiceTypes=
[Desktop Action EditWithRootKate]
Name=Edit with Kate (Root)
Icon=kgpg
Exec=kdesu kate %U
I write a lot of service menus but someone new to Kubuntu won't understand why they can't edit a file via the context menu of a root instance of konqueror.
Changed in kdebase: | |
status: | New → Fix Released |
I wrote a better service menu for this. For anyone who wants to have this functionality, download the following file and place it in ~/.kde/ share/apps/ konqueror/ servicemenus/