public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* question about Ext2/3 append-only attributes
@ 2005-05-03 20:58 Xin Zhao
  2005-05-03 22:17 ` Valdis.Kletnieks
  2005-05-03 22:24 ` Robert Love
  0 siblings, 2 replies; 3+ messages in thread
From: Xin Zhao @ 2005-05-03 20:58 UTC (permalink / raw)
  To: linux-kernel

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.

But when I tried this attribute on a directory,  I was not able to
create new files in that directory.  let's say the derectory is /dev, 
I set it to be append-only with:

chattr +a /dev.

Then I cannot create new files in it with command cp /dev/aa /dev/bb,
not that aa is a normal text file here.

Why the result conflict with the specification? Is there anyway to
make a directory really append-only? Thanks in advance!

-x

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-03 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-03 20:58 question about Ext2/3 append-only attributes Xin Zhao
2005-05-03 22:17 ` Valdis.Kletnieks
2005-05-03 22:24 ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox