-f Option is broken
Bug #351238 reported by
tbjablin
on 2009-03-29
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| KdeSudo |
Undecided
|
Unassigned | ||
| kdesudo (Ubuntu) |
Undecided
|
Unassigned | ||
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 : | #1 |
Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package kdesudo - 3.4-0ubuntu2
---------------
kdesudo (3.4-0ubuntu2) jaunty; urgency=low
* Added patch kubuntu_
- 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.
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.