^

Linux make file Immune

Article 121 in Linux

<< Back
2021-02-13 10:44:11 from bugfish
Linux make file Immune
Linux / Hints
Last Review on: 2022-08-07 11:15:01 | Hits: 560
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.

Comments

Currently 1 Upvotes!

captcha image
System - 2022-08-17 03:19:16
Thanks for visiting my page and have a nice day!
Staff may be in trouble!
Theme
Switch: NONE | Arrive: NONE
This Website is using Session Cookies for Site Functionality and AWStats.