Hi,
Making one file bulletproof is hard, you could use chattr to set the immutable (i) flag. This makes it impossible to remove the file (even for root), but root can use chattr to undo the immutable flag and delete the file anyway. It's just an extra layer.
See the manpages for chattr and lsattr.
Hope this helps.
|