Prevent Files And Folders From Accidental Deletion Or Modification In Linux
Prevent Files And Folders From Accidental Deletion Or Modification In Linux Fuente: https://www.ostechnix.com/prevent-files-folders-accidental-deletion-modification-linux/ Some times, I accidentally “SHIFT+DELETE” my data. Yes, I am an idiot who don’t double check what I am exactly going to delete. And, I am too dumb or lazy to backup the data. Result? Data loss! They are gone in a fraction of second. I do it every now and then. If you’re anything like me, I’ve got a good news. There is a simple, yet useful commandline utility called “chattr” (abbreviation of Ch ange Attr ibute) which can be used to prevent files and folders from accidental deletion or modification in Unix-like distributions. It applies/removes certain attributes to a file or folder in your Linux system. So nobody can delete or modify the files and folders either accidentally or intentionally, even as root user. Sounds useful, isn’t it? Indeed! Download – Free eGuide: “7 Completely Free VPN ...