From bf623a74fc8563eb07d22c9c9887c8f0a9b2e7bb Mon Sep 17 00:00:00 2001 From: George Boot <884482+georgeboot@users.noreply.github.com> Date: Fri, 5 May 2023 19:06:56 +0200 Subject: [PATCH] Create storage directories as 777 --- src/StorageDirectories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StorageDirectories.php b/src/StorageDirectories.php index 753cc38..922cde4 100644 --- a/src/StorageDirectories.php +++ b/src/StorageDirectories.php @@ -36,7 +36,7 @@ public static function create() } foreach ($directories as $directory) { - if (! mkdir($directory, 0755, true) && ! is_dir($directory)) { + if (! mkdir($directory, 0777, true) && ! is_dir($directory)) { throw new RuntimeException("Directory {$directory} could not be created"); } }