unix – file cannot be deleted or modified, even by root user [solved]

I had a file that could not be edited / removed / moved, even by root user.

Reason for it is that this file was declared immutable.

To solve this, run:

sudo chattr -i <path/to/file>

Now file can be edited/removed/moved.



Post a Comment

Your email is never published nor shared. You're allow to say what you want...