Commit a6e7bf22 authored by Dries's avatar Dries

Issue #1830844 by David Strauss: Fixed MTimeProtectedFastFileStorage...

Issue #1830844 by David Strauss: Fixed MTimeProtectedFastFileStorage permissions setting needs to be more liberal.
parent 4f452deb
......@@ -101,7 +101,7 @@ public function save($name, $data) {
$i = 0;
while (($mtime = $this->getUncachedMTime($directory)) && ($mtime != $previous_mtime)) {
$previous_mtime = $mtime;
chmod($directory, 0300);
chmod($directory, 0700);
// Reset the file back in the temporary location if this is not the first
// iteration.
if ($i > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment