-f Option is broken

Bug #351238 reported by tbjablin on 2009-03-29
2
Affects Status Importance Assigned to Milestone
KdeSudo
Undecided
Unassigned
kdesudo (Ubuntu)
Undecided
Unassigned
Nominated for Jaunty by tbjablin

Bug Description

Using the -f option will lead to an infinite loop when the file is already writable by the current user. A simple example is kdesudo -f ~ echo Hello. The reason is that when changeUID and realtime are both false in KdeSudo::KdeSudo, a "--" is appended to the command-line anyway, which breaks the command line. I will attach a patch momentarily.

Related branches

tbjablin (tjablin) wrote :
David Futcher (bobbo) wrote :

I have identified this bug in Ubuntu as in the package "kdesudo". This should let the correct Ubuntu developers look at your patch. Thanks for the bug report.

affects: ubuntu → kdesudo (Ubuntu)
tags: added: patch
Launchpad Janitor (janitor) wrote :

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

---------------
kdesudo (3.4-0ubuntu2) jaunty; urgency=low

  * Added patch kubuntu_01_f_option.patch:
    - Fixes LP: #351238
    - Thanks to tbjablin for the patch

 -- Anthony Mercatante <email address hidden> Tue, 31 Mar 2009 21:08:41 +0200

Changed in kdesudo:
status: New → Fix Released
Didier Raboud (odyx) on 2009-05-01
Changed in kdesudo:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers