From f744dd362de295c17a6d51d2277c69721ec92a01 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 9 May 2022 08:28:23 +0000 Subject: [PATCH] Picture shouldn't be executable --- src/Contact/Avatar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contact/Avatar.php b/src/Contact/Avatar.php index e0c0f4970d..4a54833b0c 100644 --- a/src/Contact/Avatar.php +++ b/src/Contact/Avatar.php @@ -120,7 +120,7 @@ class Avatar } file_put_contents($filepath, $image->asString()); - chmod($filepath, 0775); + chmod($filepath, 0664); DI::profiler()->stopRecording();