Bug 5326 - Kde destop items with root permissions do not launch their application
Summary: Kde destop items with root permissions do not launch their application
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 08:57 CEST by Juergen Harms
Modified: 2012-04-11 15:41 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Juergen Harms 2012-04-10 08:57:28 CEST
Description of problem:

Since quite recently (upgrade to kde 4.8.2 ?) desktop items for launching applications with root permissions by clicking the desktop icon do not work any more. This is a regression, it still worked with kde 4.8.1

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


How reproducible:

always


Steps to Reproduce:
1. Create a desktop-item file in $HOME/Desktop (see below)
2. Click the corresponding icon on the desktop


Using a test desktop-item file $HOME/Desktop/test.desktop

[Desktop Entry]
Comment=test
Exec=xemacs
GenericName=test
Name[en_US]=test-root
Name=test-root
NoDisplay=false
Path[$e]=
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=true
X-KDE-Username=root

Works perfectly if the SubstitueUid is set to false (and the user name is cleared). Same problem when replacing xemacs by other applications (e.g. kwrite or kfind)
Comment 1 Remco Rijnders 2012-04-10 09:52:22 CEST
Hi John, can you have a look at this one please?

Assignee: bugsquad => balcaen.john

Comment 2 John Balcaen 2012-04-10 22:23:41 CEST
not really :/ (i did not change my status on wiki & did not expect to be really available until June)
I don't have any working cauldron currently (only a vm in virtualbox to be able to compile some stuff )

@Jurgen 
did you check on kde bugzilla if it was not already reported?
Fwang did this update to 4.8.2 so i don't know (& did not check) if he did add/removed some patchs we might have for this .

CC: (none) => balcaen.john

Manuel Hiebel 2012-04-11 00:16:14 CEST

CC: (none) => fundawang, lmenut

Comment 3 Juergen Harms 2012-04-11 09:20:40 CEST
> did you check on kde bugzilla

I did, but without success - which is not 100% conclusive: kde bugzilla is a big haystack and this needle is quite small; I searched for kdesu, substituteUID, root (and tried clarifying by filtering on 2012)
Sander Lepik 2012-04-11 09:57:57 CEST

CC: (none) => sander.lepik
Assignee: balcaen.john => bugsquad

Comment 4 Juergen Harms 2012-04-11 15:31:26 CEST
Now it works - I am sure it did not. One possible explanation is that I just rebooted (something might unawares have gone wrong locally). I had not done a boot for quite some time - I should have before filing this bug - sorry.
Comment 5 Sander Lepik 2012-04-11 15:41:31 CEST
Reopen if you hit it again.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


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