Bug#271301: gksu: bad handling of command line arguments

Sebastien Bacher Sebastien Bacher <seb128@debian.org>, 271301@bugs.debian.org
Sun, 12 Sep 2004 15:39:54 +0200


Package: gksu
Version: 1.2.1-1
Severity: important

Apparently gksudo:
- doesn't support "--" to end options
- deletes quotes

The result is some bad side effects:

- $ gksudo -- gnome-cups-manager -p "My printer"
=> displays the password on stdout instead of running 
"gnome-cups-manager -p "My printer""

- $ gksudo "gnome-cups-manager -p 'My printer'"
=> open 2 dialogs for "My" and "printer" 

The first bug concerns gksudo and gksu, the second one only gksudo.