From: Sam Vilain (sam_at_vilain.net)
Date: Fri 09 May 2003 - 15:01:42 BST
On Fri, 09 May 2003 02:46, you wrote:
> Here I am trying to set the ILI flag on a test file:
> master# /usr/lib/vserver/setattr --immulink /vservers/v1/test/ls
> master# /usr/lib/vserver/showattr /vservers/v1/test/ls
> /vservers/v1/test/ls 00008000
> master# lsattr /vservers/v1/test/ls
> -------------t /vservers/v1/test/ls
> Somehow the "t' flag of chattr interferes with --immulink ?! Strange.
> I cannot unlink /test/ls on the vserver v1:
Unfortunately ILI and `no tail merge' share the same bit; my original
requests to formally allocate it were silently ignored and something else
came along :-(.
Don't worry, unless you're using a filesystem with tail merging (ie,
reiserfs) this bit does nothing.
You want to set the immutable bit as well if you want to be able to remove
a file but not change it.
-- Sam Vilain, sam_at_vilain.net
Humanity is acquiring all the right technology for all the wrong reasons. -- R. Buckminster Fuller