chattr |
Linux Commands - Managing Rights |
chattrchattr +i filename This command creates an immutable flag that means that the file cannot be deleted, renamed; no link can be created to the file and no data can be written to the file. Only root will be able to modify it once this is set. Example: chattr -i data
|