#30004: Set default FILE_UPLOAD_PERMISSION to 0o644.
--------------------------------------+------------------------------------
Reporter: Evgeny Arshinov | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Himanshu Lakhara):
Hello everyone,
I would like to work on this. But before that there are few important
questions:
1. There is a related setting called `FILE_UPLOAD_DIRECTORY_PERMISSIONS`.
Its document says that
This value mirrors the functionality and caveats of the
`FILE_UPLOAD_PERMISSIONS` setting.
Shall we also change its default from `None` to `0o644`(Please suggest if
something different should be provided for directories) and update its
document as well?
2. Since 2.2 pre-release branch is now in feature freeze state, Shall we
move the change to 3.0 version?
On a side note, some tests must be refactored for new values for both of
these settings. I think that's alright.
--
Ticket URL: <https://code.djangoproject.com/ticket/30004#comment:7>
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/067.6e1db1013c095ee95a0c2f34e1d7f8b6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.