Andrew <[EMAIL PROTECTED]> writes:

> I have an auto-append whitelist set up and every time it is updated
> and a new .cdb file generated, the .cdb file is given group and
> world read/write permission. This just doesn't seem right to me.

This isn't hardcoded anywhere in TMDA, your umask value is what is
determining those permissions.

Try adding the following to the top of your ~/.tmda/config file:

os.umask(077)

This will set the umask, affecting the file permissions of all files
TMDA writes, including the CDB file.

> I keep removing the world permissions off the .cdb file but they
> just keep coming back.

This is because the CDB file is completely regenerated each time there
is a change in its master file. This is how CDB works.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to