title: What' the differences between `chattr +i FILE` and `chmod -w FILE`?
body: <p>If the write permission of the file is disabled, no one can change the file.</p>
  
  <p>The <code>chattr +i FILE</code> also can protect the file from change.</p>
  
  <p>Let me know what the difference, and when we should use <code>chattr +i</code> rather than <code>chown -w</code>.</p>