diff options
| author | Harpreet Sharma <harpreet0745@gmail.com> | 2020-07-23 22:18:39 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-07-23 21:01:10 +0200 |
| commit | 08063f0122ce58ecb00ee94f0ca78a42df0b0af2 (patch) | |
| tree | 6ffc36d587f80db5bf75f820b8bebe22fd4ae586 /docs | |
| parent | 6fc4445cff9a181317d6e1718b077032bbfea8a8 (diff) | |
[3.0.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.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 18fba8ac32..cfabdf7d39 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1489,10 +1489,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`. |
