Linux make file Immune

Article 121 in Linux

2021-02-13 10:44:11 from bugfish
Linux make file Immune
Linux / Hints
Last Review on: 2021-10-26 17:32:41 | Hits: 201
This unix Command will make a file non-writable.

Make non-Writable
chattr +i file

Make writable again
chattr -i file
See Status:
lsattr file 
I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Currently 0 Upvotes!
captcha image
System - 2021-02-13 11:52:21
We appreciate comments on our site!

This Website is using Session Cookies for Site Functionality and AWStats.