From: Ethan Benson <erbenson@alaska.net>
To: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: ext2 file flag inheritance
Date: Sat, 7 Jun 2003 22:20:40 -0800 [thread overview]
Message-ID: <20030608062040.GB8983@plato.local.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
hi,
I noticed that when flags (such as append-only) are set on a
directory any new file/dir created in that directory inherits its'
flags.
This is somewhat of a problem with append-only since ext2 only
refrains from doing this on symlinks, not device special files,
therefore if you create a device special node in an append-only
directory the only way to get rid of it is debugfs.
At the very least this should probably be changed to not inherit flags
to non-regular files or directories, but I am also not quite sure the
whole idea really makes sense for all the flags (it makes some sense
for sync, and perhaps noatime, but not so much for append-only).
I am not subscribed to linux-kernel so please CC any replies, thanks.
--
Ethan Benson
http://www.alaska.net/~erbenson/
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
reply other threads:[~2003-06-08 6:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030608062040.GB8983@plato.local.lan \
--to=erbenson@alaska.net \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®