Linux consulting company

Sasha Pachev sasha at
Thu Nov 27 20:28:30 MST 2008


You may be able to get this solved for free, I think. Post the details
of the problem on Plug and have us go at it.

First thought. Do you naturally have, or can you create a situation
where a file should never be changed?

chattr +i on that file to make it immutable. Write a script that would
temporarily disable immutable attribute before saving, and immediately
turn in back on as soon as the save completes. Enforce the use of the
script in case anybody needs to save the file. You should get an error
from the culprit (hopefully).

Sasha Pachev
AskSasha Linux Consulting

Fast Running Blog.
Run. Blog. Improve. Repeat.

More information about the PLUG mailing list