[Cc-ed to tmda-workers for discussion...]

Brian <[EMAIL PROTECTED]> writes:

> I would like to change the file perms that Util.pickleit() uses when
> it saves files.  Is there a umask setting somewhere that needs to be
> modified?  Specificially, I would like to set .delivered_cache to be
> user and group readable.

There's nothing right now.  We'd have to change the code in
Util.pickleit.

I'm not exactly sure how Brian wants to use this change, but I suspect
it has to do with running tmda-pending from a web server, which he
asked about recently.

Would it make sense, therefore, to use the the ALLOW_MODE_640 setting
for this?  If ALLOW_MODE_640 is true, we could open with 640 perms,
otherwise 600 perms.  This has the advantage of not requiring another
config variable and the disadvantage that maybe there are
.delivered_cache cases distinct from when you'd want group privs on
.tmdarc.  They seem to mesh well, but I haven't given it a lot of
thought.


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

Reply via email to