Re: question about Ext2/3 append-only attributes
From: Robert Love
Date: Tue May 03 2005 - 17:28:24 EST
On Tue, 2005-05-03 at 16:58 -0400, Xin Zhao wrote:
> I read some specification says that if append-only is set to a
> directory, you can only create or modify files in that directory, but
> no delete.
I suspect that your interpretation of the specification is wrong.
+a says that files can only be opened in append mode--O_APPEND. It is
very specific as to what it allows.
Perhaps you want the sticky bit, +t, set on the directory?
Robert Love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/