[plug] Catalogue Database (DVD, etc. titles?)

Cameron Patrick cameron at patrick.wattle.id.au
Mon Apr 10 23:07:56 WST 2006


Bernd Felsche wrote:

> Always save a copy of the original data. Write-protect the file.
> Create a dotted sub-directory and place a hard link to the data
> file within that directory; then make the sub-directory mode zero.
> It'll make the file very hard to "lose" with normal user
> permissions. 

An easier way of achieving this is `chattr +i`:

       A file with the 'i' attribute cannot be modified: it cannot be  deleted
       or  renamed,  no  link  can  be created to this file and no data can be
       written to the file.  Only the superuser or a  process  possessing  the
       CAP_LINUX_IMMUTABLE capability can set or clear this attribute.

> Take a copy and put it on CD/tape/floppy.

Yup.  Don't trust software with your only copy of any important data!

Cameron




More information about the plug mailing list