>>> Linux tutorial directory <<<
Permission management-3.1 file system attributes chattr permissions
Write in the front: If you finish the inspection by yourself, there may be some mistakes. If you find something wrong, you can leave a message or private message me below.
1. Chattr command format
-
chattr [+-=] [options] [file or directory name]
-
Option i
-
For files: It is not allowed to delete or rename files, nor add or modify data
-
For directories: only the data of the files in the directory can be modified, but it is not allowed to create and delete files
-
The i attribute is equivalent to being locked and can only be seen, and is also restricted to root
-
-
Option a
2. View file system properties
Write in the back: I hope these explanations will be helpful to you, I hope everyone will like and pay attention to it. Your support is my biggest motivation (๑> <๑)