#21219: The FILE_UPLOAD_PERMISSIONS should not be used when deploying static
files
--------------------------------------+--------------------
Reporter: dblack+django@… | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: File uploads/storage | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
The FILE_UPLOAD_PERMISSIONS permission is used in the
django.contrib.staticfiles.storage.staticfiles_storage backend *and* it
really shouldn't be. The use of the FILE_UPLOAD_PERMISSIONS permission to
govern the deployed permission of static files is not documented so it
should be possible to make a new STATIC_FILE_PERMISSIONS setting which is
used instead of FILE_UPLOAD_PERMISSIONS during collectstatic :-)
--
Ticket URL: <https://code.djangoproject.com/ticket/21219>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.9b60c658f9f386bf146af3fa07099a1c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.