summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHarpreet Sharma <harpreet0745@gmail.com>2020-07-23 22:18:39 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-23 21:00:45 +0200
commit31164445599d8c1e69147485e418c6acc67e1278 (patch)
treea27f4da0e1fd74fd58a7346674fe002960ac3f68 /docs
parentbc75442ebfe2102fcc52c755cb40ba8051f0e383 (diff)
[3.1.x] Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.
Follow up to 22aab8662f0368b63f91f2526bdd0532524bc0fe Backport of 248d03fbe932b0844c628e56dafba334f9e028e4 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index eafaa96b4e..2306ed26fe 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1540,10 +1540,9 @@ The numeric mode (i.e. ``0o644``) to set newly uploaded files to. For
more information about what these modes mean, see the documentation for
:func:`os.chmod`.
-If this isn't given or is ``None``, you'll get operating-system
-dependent behavior. On most platforms, temporary files will have a mode
-of ``0o600``, and files saved from memory will be saved using the
-system's standard umask.
+If ``None``, you'll get operating-system dependent behavior. On most platforms,
+temporary files will have a mode of ``0o600``, and files saved from memory will
+be saved using the system's standard umask.
For security reasons, these permissions aren't applied to the temporary files
that are stored in :setting:`FILE_UPLOAD_TEMP_DIR`.