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