ChatTR
1. Role
Modify the exT2 and Ext3 File System Properties (attribute), using the privilege superuser.
2. Format
chattr [-RV] [-+=aacddijssu] [-V Version] file or directory
3. Main parameters
-R: Recursively processes all files and subdirectories.
-V: Displays the modified content in detail and prints the output.
-: Invalid property.
+: Activates the attribute.
=: Specifies the property.
A:Atime, tell the system not to modify the last access times for this file.
S:syNC, once the application writes to this file, the system immediately writes the result of the modification to the disk.
A:append only, the system only allows appending data after this file, and does not allow any process to overwrite or truncate the file. If the directory has this attribute, the system will only allow the file to be created and modified in this directory, and no files are allowed to be deleted.
I:immutable, the system does not allow any modifications to this file. If the directory has this attribute, then any process can only modify files under the directory, not allow the creation and deletion of files.
D: Check for errors in the compressed file.
Jira attachement Directorey