Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Quickmail should use global permission settings for creating temp directories #9

Closed
abias opened this issue Oct 31, 2011 · 2 comments
Closed
Assignees

Comments

@abias
Copy link

abias commented Oct 31, 2011

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

@philcali
Copy link
Contributor

@abias, many thanks to you for the heads up. This fix will be in place for the next version.

@ghost ghost assigned adamzap Nov 10, 2011
@philcali
Copy link
Contributor

Fix is in place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants