From: Michael Date: Mon, 9 May 2022 08:28:23 +0000 (+0000) Subject: Picture shouldn't be executable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f744dd362de295c17a6d51d2277c69721ec92a01;p=friendica.git Picture shouldn't be executable --- 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();