On Saturday 22 May 2010 16:28:38 Kevin Kofler wrote:
Anne Wilson wrote:
> On Friday 21 May 2010 10:40:50 Kevin Kofler wrote:
>> It's not a bug. It's an important bugfix! If you have "rm -rf
" typed in
>> your terminal and Dolphin enters "cd something" and ENTER, boom! This
>> has already lead to real-world data loss for some people! There's an
>> upstream bug filed for this, and I guess they finally fixed that now.
>> Typing "cd somedir" into a random command's prompt is also going
to do
>> no good, Ctrl+C also protects against that.
>
> How? Can you explain more?
Dolphin just sends keypresses to the process running inside the
KonsolePart. So if you have "rm -rf " typed, typing "cd somedir" and
Enter/Return will result in:
rm -rf cd somedir
which will delete somedir (and complain about no file or directory named cd
existing)!
Ctrl+C is an effective way to clear the command line, and also interrupt
non-shell processes which may be waiting for input.
Hmm - ok - nannying. It just seemed so unlikely to me, but I guess it does
little harm.
Anne
--
KDE Community Working Group
New to KDE Software? - get help from
http://userbase.kde.org