Fix permissions for db files.
Allow for a __default__ target which matches hosts not otherwise matched.