<[EMAIL PROTECTED]> writes:

> Whenever the .db file gets rebuilt, it gets rebuilt mod 600, and
> owned by whoever is receiving the email.  This then makes it
> unreadable and unwritable by anyone else.
> 
> How can I change the mod to 660 so that it is group
> readable/writable?  Is there a configure file for this.

Your users' umask is probably causing this.  In the users' config
files (or in /etc/tmdarc) put either this line:

os.umask(02)

or this line:

os.umask(06)

after the line that says 'import os', depending on how strict you want
the permissions.

> I have already changed the line in ../TMDA/FilterParser.py to be mod
> 660, but that did not help.

No, and you probably want to leave that line alone.  Instead, change
(by hand) the mode of the .last_built files to 0660 and, once the
umask is set correctly, it should be preserved.


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to