Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Mon, 6 Dec 1999 12:00:52 +0000 (GMT) | Subject | Re: Oops with ext3 journaling |
| |
Hi,
On Sat, 4 Dec 1999 08:44:46 -0800 (PST), Brion Vibber <brion@gizmo.usc.edu> said:
> Maybe at least stick a nice big warning in the docs along the lines of > "do not write to your journal file while mounted with journaling on, > you big dummy!" :) Not that I'd do so deliberately of course, but it > might make people a little more wary later on. The README does > recommend setting the permissions to 400, but that doesn't protect > from root of course.
"chattr +i journal.dat" will protect even from root.
> Is there any reason you _would_ want to be able to write to the journal > file from userland while mounted? I'd guess no...
No, and I'm pretty much convinced now that I'll move to having a private, hidden inode for the journal in the future.
--Stephen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |