Opened 15 years ago

Closed 15 years ago

#11781 closed (wontfix)

Wish: FILE_UPLOAD_DIRECTORY_PERMISSIONS

Reported by: michal.dtz@… Owned by: nobody
Component: File uploads/storage Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Please add this variable to global_settings.py

Then, in django.core.files.storage, use
os.makedirs(directory, settings.FILE_UPLOAD_DIRECTORY_PERMISSIONS)

Some people (like me) need this settings - and it is relativley easy to add it. Pretty please :-)

Change History (1)

comment:1 by James Bennett, 15 years ago

Resolution: wontfix
Status: newclosed

Seems like something you should do in your own storage backend, if that's what you need. Meanwhile, I don't think this is a common enough thing to justify making it a part of Django.

Note: See TracTickets for help on using tickets.
Back to Top