Wednesday, January 8, 2014

How To Protect Linux files accidental deletion ?

Protect Linux files accidental deletion

You can protect your most important files from accidental deletion by giving them a “sticky bit” attribute:

#chmod +t filename

#chattr +i filename

No comments:

Post a Comment