[Ilugc] prevent files from deleting even by root itself

  • From: andyetitmoves@xxxxxxxxx (R.Ramkumar)
  • Date: Sat May 5 04:25:48 2007

That is not chmod.
it is chattr

chattr +i <filename> to give protection.
chattr -i <filename> to revoke the protection.

Just a note.. This is a special feature for EXT filesystems alone... :)

it moves on...

-- 
One of the main causes of the fall of the Roman Empire
was that, lacking zero, they had no way to indicate
successful termination of their C programs.
                             -- Robert Firth

Other related posts: