There are plenty of tools and methods out there to secure and prevent your files and folders from accidental deletion. Chatter is one of them. It is a command line utility to change the file attributes on an ext2/ext3/ext4 filesystems. It prevents the accidental deletion of your important files. Even though you have full permissions over files, you can’t delete them which are secured by chattr.