Bug 429188 - Dolphin launching as root by shortcuts
Summary: Dolphin launching as root by shortcuts
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-16 12:14 UTC by Bill Sideris
Modified: 2020-12-31 04:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Sideris 2020-11-16 12:14:53 UTC
SUMMARY
After an app opens Dolpin as root, for example Timeshift, it continues to open as root when launched from the keyboard shortcuts. I'm on kubuntu 20.04 with all the latest updates (as of 16/11/20). This bug does not occur immediately but rather after a few hours of uptime.

STEPS TO REPRODUCE
1. launch dolphin as root
2. close it
3. wait for a few minutes
4. launch dolphin from you keyboard shortcut

OBSERVED RESULT

dolphin running as root

EXPECTED RESULT

dolphin running as the logged in user account

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kubuntu 20.04 / 5.18.5
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Comment 1 Nate Graham 2020-11-16 15:51:12 UTC
Launching Dolphin as root is not supported. How are you accomplishing #1?
Comment 2 Bill Sideris 2020-11-16 20:09:35 UTC
Sorry, I should clarify. Timeshift (the backup application) when you press "view logs" or "browse" does #1. Since the app runs as root it probably opens it through the root account. 
I do not know the language it's written in but by analyzing the meaning of the meaning of the code, the button does this: "exo_open_folder(App.log_dir);"
The result of that button is opening a root dolpin.
The problem is that even after closing *that* dolphin and the timeshift window launching dolphin later causes it to open as root for no apparent reason.
Comment 3 Nate Graham 2020-11-16 20:55:30 UTC
> The result of that button is opening a root dolhpin.
How do you know this? What does Dolphin do that tips you off to it? I ask because it should not be possible at all. :)
Comment 4 Bug Janitor Service 2020-12-01 04:33:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bill Sideris 2020-12-01 10:48:44 UTC
> How do you know this?
The white theme is applied and the running dolpin as root warning comes on
Comment 6 Nate Graham 2020-12-01 15:31:35 UTC
After you quit Dolphin, is there a dolphin process still running in the background? You can check with `ps -g | grep -i dolphin` after closing its last visible window.
Comment 7 Bug Janitor Service 2020-12-16 04:34:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2020-12-31 04:34:28 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!