From 23f5a579b7faf9d0afce6a0bfecaca8d80af7a3d Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 20 Jul 2020 10:20:27 -0500 Subject: [PATCH] Add permission for uploaded file --- dmoj/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dmoj/settings.py b/dmoj/settings.py index 49ba6cf..08e3896 100644 --- a/dmoj/settings.py +++ b/dmoj/settings.py @@ -502,6 +502,7 @@ TESTCASE_VISIBLE_LENGTH = 60 DATA_UPLOAD_MAX_NUMBER_FIELDS = 10240 DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 +FILE_UPLOAD_PERMISSIONS = 0o644 MESSAGES_TO_LOAD = 15