Hiếu Hoàng
Member
How do I protect a file from deletion in Linux?
Answer
I know an useful commandline utility called
“chattr” that is used to prevent files and folders from accidental deletion or modification in Linux. Chattr, short for Change Attribute, applies/removes certain attributes to a file or folder in your Linux system.
Answer
I know an useful commandline utility called
“chattr” that is used to prevent files and folders from accidental deletion or modification in Linux. Chattr, short for Change Attribute, applies/removes certain attributes to a file or folder in your Linux system.