1, the lock (the lock can only be read and copy operation, can not write, and move operations)
chattr +a ceshi.txt
2, View
lsattr ceshi.txt
3, unlock
chattr -a ceshi.txt
1, the lock (the lock can only be read and copy operation, can not write, and move operations)
chattr +a ceshi.txt
2, View
lsattr ceshi.txt
3, unlock
chattr -a ceshi.txt