Note this works on (ext2/ext3) filesystems.
As root:
# chattr +i filename
And to change it back:
# chattr -i filename
List attributes
# lsattr filename
Note this works on (ext2/ext3) filesystems.
As root:
# chattr +i filename
And to change it back:
# chattr -i filename
List attributes
# lsattr filename