lkml.org 
[lkml]   [1999]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.073 / U:0.056 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site