chattr is a command line tool to set/unset certain attributes on a file or folder to secure accidental deletion or modification of files and folders, even though you are logged in as root user.