Based on some limited testing, removing the quotes breaks both gksudo
and kdesudo for me.  These can be fixed by appending "--" to the command
line to tell gksudo or kdesudo to not consider the following elements as
arguments.  This change also works for the sudo case, where sudo knows
that -y is not an argument it ought use.

This breaks down for ROOT="su -c" which can't seem to handle a call
without quotes, even if escaped by "--".  I'll upload a revision to this
change that works in the more common cases (where one of gksudo,
kdesudo, or sudo is available), as this makes it less bad then it is
now, but it would benefit from someone rewriting the entire block to
handle all cases more generally and safely (and even moreso from adding
test cases to ensure that changes to this block really work).

-- 
installing tests fails
https://bugs.launchpad.net/bugs/569141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to