Skip to content

Commit

Permalink
Set FILE_UPLOAD_PERMISSIONS settings (#112)
Browse files Browse the repository at this point in the history
Set `FILE_UPLOAD_PERMISSIONS` to `0o664` on django site settings.
  • Loading branch information
kesara authored Jul 15, 2021
1 parent f386a0b commit a2797ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ietf/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
MEDIA_URL = "/media/"

# File upload permissions
# https://docs.djangoproject.com/en/3.2/ref/settings/#file-upload-permissions
FILE_UPLOAD_PERMISSIONS = 0o664

# Django compressor settings
# http://django-compressor.readthedocs.org/en/latest/settings/
Expand Down

0 comments on commit a2797ca

Please sign in to comment.