[3.1.x] Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.
Follow up to22aab8662f
Backport of248d03fbe9
from master
This commit is contained in:
parent
bc75442ebf
commit
3116444559
|
@ -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`.
|
||||
|
|
Loading…
Reference in New Issue