When I open Tool -> "Start Root Mode Krusader", after typing the root password, I get this error message: Cannot execute command ' '/usr/bin/krusader --left=file:///home/KDE --right=file:///home/KDE''. the problem stems from the fact that kdesu needs to be loaded with the '-c' switch when the command is supposed to be executed as one string. This patch fixed the issue: --- krusader-2.0.0/krusader/krslots.cpp 2011-04-19 01:21:22.725908212 +0200 +++ krusader-2.0.0/krusader/krslots.cpp.new 2011-04-19 02:34:25.573686085 +0200 @@ -561,7 +561,7 @@ } KProcess proc; - proc << KrServices::fullPathName( "kdesu" ) << KrServices::fullPathName( "krusader" ) + proc << KrServices::fullPathName( "kdesu" ) << "-c" << KrServices::fullPathName( "krusader" ) + " --left=" + MAIN_VIEW->left->func->files()->vfs_getOrigin().url() + " --right=" + MAIN_VIEW->right->func->files()->vfs_getOrigin().url();
*** This bug has been marked as a duplicate of bug 265026 ***
I don't see how this is a dupe of bug 265026. The command actually passed by krusader is: '/usr/bin/krusader --left=file:///home/a --right=file:///home/a' exactly like that with the quotes; so this: /usr/lib64/kde4/libexec/kdesu '/usr/bin/krusader --left=file:///home/a --right=file:///home/a' will fail with: Cannot execute command ' '/usr/bin/krusader --left=file:///home/KDE --right=file:///home/KDE''. The way krusader invokes kdesu, doesn't work without '-c', AFAICS.
Indeed. This is not fixed in kdelibs 4.6.2, it doesn't work with 4.6.3 either. I think the patch to Krusader is the best solution. Reopening.
this is a "semantic duplicate" of bug 264947 (the "parent" of bug 265026), which makes this a krusader bug, indeed, and the proposed fix is correct.
The fix is included in 2.4.0-beta1.