cannot modify file with root in linux


There are some files that cannot be modified if the extended attributes is immute If Linux permissions were not complicated enough, I just learned about extended attributes.Turns out there is this thing called an immutable attribute. Using lsattr php5.fcgi shows the i(mmutable) attribute is set. Using chattr -i php5.fcgi allowed me to save modifications then chattr +i php5.fcgi to restore the immutable attribute.ref:

2017-07-07 09:47:26gstlouis