Bug 21804 - impossible to use Dolphin in root
Summary: impossible to use Dolphin in root
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 17:44 CEST by j pierre LAJOIE
Modified: 2021-05-17 01:34 CEST (History)
3 users (show)

See Also:
Source RPM: DOLPHIN / KDESU
CVE:
Status comment:


Attachments

Description j pierre LAJOIE 2017-10-03 17:44:06 CEST
Description of problem:
On cauldron MGA7 dolphin in root don't work anymore.

In Konsole : su -
mp ******
root@xxxx # dolphin 
Executing Dolphin as root is not possible.
---------------------------------------------
root@xxxx # kdesu dolphin
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Executing Dolphin as root is not possible.


On desktop :
ALT F2 
kdesu dolphin 
don't work




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

Mageia 7
noyau : 4.12.14-desktop-1.mga7
arch: 64-bit
Bureau : KDE
Dolphin 17.08.0

How reproducible:
every time 

Steps to Reproduce:
1.
2.
3.
Comment 1 j pierre LAJOIE 2017-10-03 19:37:07 CEST
After googleing  it's seems it's not a bug !
i read that it's now forbiden to use dolphin as root! :=(
Comment 2 Marja Van Waes 2017-10-04 20:23:58 CEST
(In reply to j pierre LAJOIE from comment #1)
> After googleing  it's seems it's not a bug !
> i read that it's now forbiden to use dolphin as root! :=(


https://dot.kde.org/2017/05/02/have-you-heard-kde-applications-1704-and-plasma-595-now-available

> A significant change that affects not only Dolphin, but also Kate and KWrite,
> is that launching these applications as root on Linux systems has been disabled
> by default. The reason for this is that it is a safety risk to run GUI apps
> with root privileges in the X Window System (X11). 

I think our KDE team follows upstream decisions, but I'll let them decide for themselves what to do with this report.

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

Comment 3 Jeremiah Summers 2017-10-05 00:31:22 CEST
The beauty of opensource is someone can always do something like this:
https://github.com/aigars-github/Fedora-26-dolphin-root-access

CC: (none) => JMiahMan

Comment 4 Aurelien Oudelet 2021-05-17 01:34:36 CEST
Security design.

We tend to ship best Open Sourced softwares with best default settings.
As upstream does not want Dolphin run as root user, which is a totally non-sense, we will not patch it.

Mandatory informations: You can run Kate/Kwrite text editor as user and being able to save a root's file (like: /etc/default/grub) with a polkit elevation only at save time. This is OK since Mageia 8.

For user non-viewable/browsable directory, use Konsole to navigate there, become root and use nano/vi/emacs. Normally, you should not modify such files.

Closing.

CC: (none) => ouaurelien
Resolution: (none) => WONTFIX
Status: NEW => RESOLVED


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