Unable to pass parameters with spaces in

Bug #209831 reported by Adam Spain
2
Affects Status Importance Assigned to Milestone
KdeSudo
Fix Released
Undecided
Unassigned
kdesudo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kdesudo

I can't find any way to pass a parameter that has spaces in. With sudo and kdesu.distrib I can do this, and it works to open a file in a folder that has spaces in the name:

kdesu.distrib kate "test folder/test.txt"
sudo kate "test folder/test.txt"

But if I do that same command with kdesudo, Kate says it's opening the file /home/user/'test folder/test.txt' (note the single quotes around the file name that was passed in double quotes). Certainly kdesudo isn't behaving like sudo or kdesu.distrib here. I've come across this issue attempting to fix bugs 152856 (1) and 162279 (2), which are both issues running a process as root where a parameter has a space in it. I'm running Kubuntu Hardy KDE3 (kdesudo 2.5.1).

(1): https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/152856
(2): https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/162279

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdesudo - 2.5.1-0ubuntu2

---------------
kdesudo (2.5.1-0ubuntu2) hardy; urgency=low

  * Added kubuntu_02_spaced_args.patch:
    - Closes LP: #209831
  * Added kubuntu_03_export_kdesycoca.patch:
    - Closes LP: #175909

 -- Anthony Mercatante <email address hidden> Thu, 17 Apr 2008 23:47:16 +0200

Changed in kdesudo:
status: New → Fix Released
Changed in kdesudo:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.