Permission fixup (was RE: [Mimedefang] Quarantine management - anyone else working on this?)

David F. Skoll dfs at roaringpenguin.com
Fri Apr 2 08:52:43 EST 2004


On Fri, 2 Apr 2004, Paul Murphy wrote:

> B.  Patch the MIMEDefang code to force all quarantine folders to be
> created with full group access (mode 770), and to set the group to
> something which the web server is a member of, so that full access
> is granted.

There's another option, (D): Add this to filter_end:

	if ($QuarantineCount > 0 || $EntireMessageQuarantined) {
		my $dir = get_quarantine_dir();
		system("chmod -R g+rwX $dir");
        }

Regards,

David.



More information about the MIMEDefang mailing list