mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ext2 file flag inheritance
@ 2003-06-08  6:20 Ethan Benson
  0 siblings, 0 replies; only message in thread
From: Ethan Benson @ 2003-06-08  6:20 UTC (permalink / raw)
  To: Linux-Kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-08  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-08  6:20 ext2 file flag inheritance Ethan Benson

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®