Custom Search

Tuesday, December 7, 2010

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