apply for tranlasting

This commit is contained in:
Medusar 2015-01-26 21:35:39 +08:00
parent 08913fe46b
commit ebaeee7b0a

View File

@ -1,3 +1,5 @@
Translating by Medusar
How to make a file immutable on Linux
================================================================================
Suppose you want to write-protect some important files on Linux, so that they cannot be deleted or tampered with by accident or otherwise. In other cases, you may want to prevent certain configuration files from being overwritten automatically by software. While changing their ownership or permission bits on the files by using chown or chmod is one way to deal with this situation, this is not a perfect solution as it cannot prevent any action done with root privilege. That is when chattr comes in handy.
@ -69,4 +71,4 @@ via: http://xmodulo.com/make-file-immutable-linux.html
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://xmodulo.com/author/nanni
[a]:http://xmodulo.com/author/nanni