From a971983689dc95a8a2311627e3fdabf94ade44d8 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 23 Apr 2018 11:43:38 +0000 Subject: [PATCH] Set file upload permissions to 0644 to avoid problems with photo access. - Legacy-Id: 15063 --- ietf/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ietf/settings.py b/ietf/settings.py index 2dc3a5c67..62b3f7bd0 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -176,6 +176,8 @@ WSGI_APPLICATION = "ietf.wsgi.application" AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', ) +FILE_UPLOAD_PERMISSIONS = 0o644 + # ------------------------------------------------------------------------ # Django/Python Logging Framework Modifications