From: "Jörn Engel" <joern@logfs.org>
To: Peter Teoh <htmldeveloper@gmail.com>
Cc: kernelnewbies <kernelnewbies@nl.linux.org>,
linux-fsdevel@vger.kernel.org, ext3-users@redhat.com
Subject: Re: "Write once only but read many" filesystem
Date: Sat, 22 Mar 2008 17:59:06 +0100 [thread overview]
Message-ID: <20080322165906.GC19347@logfs.org> (raw)
In-Reply-To: <804dabb00803220855q1aa41fc7mc30c7ce7951fe98@mail.gmail.com>
On Sat, 22 March 2008 23:55:53 +0800, Peter Teoh wrote:
>
> > Or do you want individual files/directories to be immutable - chattr?
>
> chattr is not good enough, as root can still modify it. So if
> current feature is not there, then some small development may be
> needed.
>
> > And in either case, what problem do you want to solve with a read-only filesystem?
>
> Simple: i want to record down everything that a user does, or a
> database does, or any applications running - just record down its
> state permanently securely into the filesystem, knowing that for sure,
> there is not way to modify the data, short of recreating the
> filesystem again. Sound logical? Or is there any loophole in this
> concept?
The loophole is called root. In a normal setup, root can do anything,
including writing directly to the device your filesystem resides in,
writing to kernel memory, etc.
It may be rather inconvenient to change a filesystem by writing to the
block device, but far from impossible. If you want to make such changes
impossible, you are facing an uphill battle that I personally don't care
about. And if inconvenience is good enough, wouldn't chattr be
sufficiently inconvenient?
Jörn
--
Victory in war is not repetitious.
-- Sun Tzu
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-03-22 16:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 16:17 filesystem differentiation Peter Teoh
2008-03-14 23:24 ` Andreas Dilger
2008-03-22 4:39 ` "Write once only but read many" filesystem Peter Teoh
[not found] ` <20080322102331.GA19347@logfs.org>
[not found] ` <804dabb00803220752h670757d8o9c1b7fa3696467bc@mail.gmail.com>
[not found] ` <20080322150626.GB19347@logfs.org>
2008-03-22 15:55 ` Peter Teoh
2008-03-22 16:59 ` Jörn Engel [this message]
2008-03-24 4:49 ` Scott Lovenberg
2008-03-24 6:35 ` Peter Teoh
-- strict thread matches above, loose matches on Subject: below --
2008-03-24 6:45 Peter Teoh
2008-03-24 16:56 ` Bryan Henderson
2008-03-25 0:47 ` Peter Teoh
2008-03-25 15:22 ` Matthew Wilcox
2008-03-25 18:42 ` Bryan Henderson
2008-03-25 18:32 ` Bryan Henderson
2008-03-26 2:27 ` Peter Teoh
2008-03-26 16:49 ` Bryan Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080322165906.GC19347@logfs.org \
--to=joern@logfs.org \
--cc=ext3-users@redhat.com \
--cc=htmldeveloper@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.