Summary: | unmount problems with locked down desktop | ||
---|---|---|---|
Product: | [Plasma] kiosk | Reporter: | Waldo Bastian <bastian> |
Component: | kiosktool | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Waldo Bastian
2004-09-14 17:20:10 UTC
Same problem, KDE 3.2.3, Debian packages. I have discovered that after opening CD, there is "kdeinit: kio_audiocd audiocd ..." in process list (although data CD is in question) and ejecting is not possible while this process is present. If I kill it, ejecting works immediately. CVS commit by waba: KIOSK: "run_desktop_files=false" should not affect service menus. BUG: 89499 M +5 -2 krun.cpp 1.262 --- kdelibs/kio/kio/krun.cpp #1.261:1.262 @@ -187,5 +187,5 @@ bool KRun::displayOpenWithDialog( const { // TODO: Better message, i18n freeze :-( - KMessageBox::sorry(0L, i18n("You are not authorized to execute this file.")); + KMessageBox::sorry(0L, i18n("You are not authorized to open this file.")); return false; } @@ -508,6 +508,8 @@ static pid_t runCommandInternal( KProces const QString &execName, const QString & iconName ) { - if ( service && !KDesktopFile::isAuthorizedDesktopFile( service->desktopEntryPath() )) + if (!service->desktopEntryPath().isEmpty() && + service && !KDesktopFile::isAuthorizedDesktopFile( service->desktopEntryPath() )) { + kdWarning() << "No authorization to execute " << service->desktopEntryPath() << endl; KMessageBox::sorry(0, i18n("You are not authorized to execute this file.")); return 0; @@ -635,4 +637,5 @@ pid_t KRun::run( const KService& _servic !KDesktopFile::isAuthorizedDesktopFile( _service.desktopEntryPath())) { + kdWarning() << "No authorization to execute " << _service.desktopEntryPath() << endl; KMessageBox::sorry(0, i18n("You are not authorized to execute this service.")); return 0; |