From 22aab8662f0368b63f91f2526bdd0532524bc0fe Mon Sep 17 00:00:00 2001 From: Himanshu Lakhara Date: Wed, 6 Feb 2019 19:27:37 +0530 Subject: Fixed #30004 -- Changed default FILE_UPLOAD_PERMISSION to 0o644. --- docs/ref/settings.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 46e99af993..0bac3fc9d0 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1484,7 +1484,7 @@ This value mirrors the functionality and caveats of the ``FILE_UPLOAD_PERMISSIONS`` --------------------------- -Default: ``None`` +Default: ``0o644`` The numeric mode (i.e. ``0o644``) to set newly uploaded files to. For more information about what these modes mean, see the documentation for @@ -1511,6 +1511,10 @@ when using the :djadmin:`collectstatic` management command. See way that modes must be specified. If you try to use ``644``, you'll get totally incorrect behavior. +.. versionchanged:: 3.0 + + In older versions, the default value is ``None``. + .. setting:: FILE_UPLOAD_TEMP_DIR ``FILE_UPLOAD_TEMP_DIR`` -- cgit v1.3