1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #30004 -- Changed default FILE_UPLOAD_PERMISSION to 0o644.

This commit is contained in:
Himanshu Lakhara
2019-02-06 19:27:37 +05:30
committed by Tim Graham
parent e7fd69d051
commit 22aab8662f
5 changed files with 18 additions and 13 deletions

View File

@@ -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
=====