[Mimedefang] Using ClamAV with default run-as-user settings

Kenneth Porter shiva at sewingwitch.com
Tue Feb 10 18:23:16 EST 2004


--On Tuesday, February 10, 2004 2:23 PM -0800 Kenneth Porter 
<shiva at sewingwitch.com> wrote:

> Digging around in mimedefang.pl, I see 3 places where directories are
> created 0700, and I can't find any explicit stuff in MIME::Parser to set
> file modes. So I'd guess it's using the inherited umask. I'd guess the
> default modes (file and directory) could be made features and serverloop
> could set umask.

Looks like file permissions are handled by get_fd in mimedefang.c (hard 
coded to 600), so it would need to be tweaked to use a parameter.




More information about the MIMEDefang mailing list