How to make a File  "unalterable" or "immutable" -- it cannot be
changed  or deleted even by root. Note this works on (ext2/ext3)
filesystems.
     And, yes, root can delete after it's changed back.

     As root:

       $ chattr +i filename

     And to change it back:

       $ chattr -i filename

     List attributes

       $ lsattr filename


Reply via email to