lsuits/quickmail — Issue #9: Quickmail should use global permission settings for creating temp directories
Author: abias
Created: 2011-10-31 08:53:22+00:00
State: open

Quickmail creates world-writeable directories in dataroot. As there is a setting for new directory permissions, please use it.
In /blocks/quickmail/lib.php, process_attachments(), please replace

mkdir($moodle_base, 0777, true);

with

mkdir($moodle_base, $CFG->directorypermissions, true);

Many thanks in advance
Alex