Function Description: Change file properties.
Grammar: chattr&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-RV] [-v< Version number [+/-/=< Property] [File or directory ...]
Supplemental Note: This directive changes the file or directory properties stored on the ext2 file system, which have the following 8 modes:
A: Make a file or directory for additional use only.
B: Do not update the last access time for the file or directory.
C: Compress files or directories and store them.
D: Exclude files or directories from dumping operations.
I: Do not arbitrarily change the file or directory.
S: Confidentiality deletes files or directories.
S: Update files or directories immediately.
U: Prevention is removed.
Parameters:
-R recursive processing of all files and subdirectories in the specified directory.
-v< version number > set file or directory version.
-V Displays the instruction execution process.
+< Property > Opens the property of the file or directory.
-< Property > Closes this property of a file or directory.
=< Property > Specifies the property of the file or directory.