question about Ext2/3 append-only attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux