On Monday 19 January 2009 04:13:09 pm Manuel Wolfshant wrote:
actually after chattr +i not even root can modify / delete the file:
True. But you can chattr -i ./foo and then edit the file remembering to make
it immutable again when you are done editing it. Not as automatic as one
might like, but that's how to do it.