Changes between Initial Version and Version 1 of Ticket #28540


Ignore:
Timestamp:
Aug 28, 2017, 7:31:59 AM (7 years ago)
Author:
Tim Graham
Comment:

Have you set settings.FILE_UPLOAD_PERMISSIONS? Can you reproduce the problem in a non-production environment? It's unclear if someone could reproduce the problem based on the little information you provided. Can you provide a minimal sample project that reproduces the issue? Can you bisect the regression to determine where the behavior changed?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28540 – Description

    initial v1  
    11This bug find in prod server (nginx, supervisor + gunicorn)
    22
    3 I have models:
    4 MainModel() and
    5 SubModel():
    6  main_id = FK(MainModel)
    7  im1 = ImageField()
    8  im2 = ImageField()
    9  im3 = ImageField()
    10 
    11 When I fill SubModel object in admin (as InlineAdmin) and click save button, all images are saved, but permissions == 0600.
     3I have models: `MainModel()` and
     4{{{
     5SubModel(models.Model):
     6    main_id = FK(MainModel)
     7    im1 = ImageField()
     8    im2 = ImageField()
     9    im3 = ImageField()
     10}}}
     11When I fill `SubModel` object in admin (as InlineAdmin) and click save button, all images are saved, but permissions == 0600.
    1212If I fill any two imgs (or one), all is well.
    1313Django 1.10.5 - this bug not found.
Back to Top