Search notes:

Shell command: chattr

chattr +i: Make the file immutable so that no one, not even root, can change, delete or link the file.
chattr +a: Make file append only. Usable, for example, for log-file security.
chattr +s: Secure deletion of the file.

See also

lsattr, xattr
chmod to change file mode bits.
Shell commands

Index