Stupid question: prevent file from being changed under linux

Posted by Josh on Server Fault See other posts from Server Fault or by Josh
Published on 2010-04-02T21:27:47Z Indexed on 2010/04/02 21:33 UTC
Read the original article Hit count: 262

Filed under:
|
|

Ok. Stupid question. I have forgotten what this is called and without remembering the name the search function on the site and on google is failing me.

What's the command under linux to mark a file as "locked"/to prevent any changes from being made to it? I'm not talking about chmod. There's a property that can be set (again the name escapes me at the moment) which prevents even processes running as root from changing a file. What is this called and how do I set it?

© Server Fault or respective owner

Related posts about linux

Related posts about file