Change file attribute in Linux

Change file attribute in Linux

The following command to write protect /root/test.txt file:[root@localhost]# chattr +i test.txtA file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the fi...

Close