"Working with root is either great fun or extremely dangerous,
depending on how much you like the feeling of supreme executive
"But if you're one of the people who fears the mighty power of
the superuser to delete files with impunity, what you need is
chattr: it lets you set a file as being immutable, which means that
not even root can delete it. For example: running chattr +i
myfile.txt as root will make that file virtually indestructable no
matter what user you are. If you want to remove the shield of
steel, use -i rather than +i."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.