-f Option is broken

Bug #351238 reported by tbjablin
2
Affects Status Importance Assigned to Milestone
KdeSudo
Fix Released
Undecided
Unassigned
kdesudo (Ubuntu)
Fix Released
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.

Tags: patch

Related branches

Revision history for this message
tbjablin (tjablin) wrote :
Revision history for this message
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
Revision history for this message
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)
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.