From dc5936565e9f30db66586760b853f5b7d48d7e5c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 1 Oct 2017 17:00:14 +0200 Subject: [PATCH] Fix directory creation --- DataStorage/Cache/FileCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataStorage/Cache/FileCache.php b/DataStorage/Cache/FileCache.php index ef9906889..236e882ea 100644 --- a/DataStorage/Cache/FileCache.php +++ b/DataStorage/Cache/FileCache.php @@ -83,7 +83,7 @@ class FileCache implements CacheInterface public function __construct(string $path) { if (!Directory::exists(File::parent($path))) { - Directory::create($path); + Directory::create($path, 0664, true); } $this->cachePath = realpath($path);