Re: [2.6.30 and later] file corruption on ext3 filesystem.

From: Pavel Machek
Date: Fri Jan 15 2010 - 15:01:54 EST


Hi!

>>> http://lwn.net/Articles/328363/
>>>
>> Thank you for the pointer.
>>
>> Indeed, most Linux boxes are used by single user.
>> But implicitly importing other deleted file's data is still annoying
>> even if the box is used by only one user.
>>
>> When I was trying to identify the steps to reproduce, I got ./a.out replaced
>> by the deleted .bash_history due to power failure. I executed ./a.out as root
>> without knowing that the file contains deleted .bash_history , and many
>> commands listed in deleted .bash_history are executed as root.
>> I thought my box was cracked and trojaned. :-(
>
> Fedora and some other distributions changed the default back to data
> ordered mode in order to avoid exactly this kind of mess. Even if you
> are on a single user system, this behavior is certainly unexpected for
> most users :-)

Also there's config option to get back the old behaviour.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/