]> git.mxchange.org Git - friendica.git/commitdiff
Picture shouldn't be executable
authorMichael <heluecht@pirati.ca>
Mon, 9 May 2022 08:28:23 +0000 (08:28 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 9 May 2022 08:28:23 +0000 (08:28 +0000)
src/Contact/Avatar.php

index e0c0f4970dda094f1115237a2b714c00d19acfbb..4a54833b0c8d37d06dab59a24c962187fa660022 100644 (file)
@@ -120,7 +120,7 @@ class Avatar
                }
 
                file_put_contents($filepath, $image->asString());
-               chmod($filepath, 0775);
+               chmod($filepath, 0664);
 
                DI::profiler()->stopRecording();