Keeping key files locked

This is an obvious practice that I somehow neglected. Key files, whether they be from KeePassXC or Borg, should not be modified (obviously). Modification or corruption could lead to not being able to access your databases or repos.

This is a quick fix. First, permissions:

Then, when using `git-annex` we want to keep these files locked. This means adjusting our backup script slightly. First, I have a file called `unlock-exclude.txt` containing files I want to keep locked. Then we have this unruly command:

As far as I'm aware, `find` has no `exclude-from` option.

Finally, we fix the lock status of our files:

As mentioned previously, I have `annex.addunlocked` set to `true`, but this does not pose a problem.

Proxied content from gemini://remyabel.flounder.online/2020-01-03-keeping-key-files-locked.gmi (external content)

Gemini request details:

Original URL
gemini://remyabel.flounder.online/2020-01-03-keeping-key-files-locked.gmi
Status code
Success
Meta
text/gemini
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.