mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #30004 -- Changed default FILE_UPLOAD_PERMISSION to 0o644.
This commit is contained in:
parent
e7fd69d051
commit
22aab8662f
5 changed files with 18 additions and 13 deletions
|
@ -154,16 +154,6 @@ server never attempts to interpret them. For instance, if a user uploads a
|
|||
|
||||
Now is a good time to check your backup strategy for these files.
|
||||
|
||||
:setting:`FILE_UPLOAD_PERMISSIONS`
|
||||
----------------------------------
|
||||
|
||||
With the default file upload settings, files smaller than
|
||||
:setting:`FILE_UPLOAD_MAX_MEMORY_SIZE` may be stored with a different mode
|
||||
than larger files as described in :setting:`FILE_UPLOAD_PERMISSIONS`.
|
||||
|
||||
Setting :setting:`FILE_UPLOAD_PERMISSIONS` ensures all files are uploaded with
|
||||
the same permissions.
|
||||
|
||||
HTTPS
|
||||
=====
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue