Opened 7 years ago

Last modified 6 years ago

#28540 closed Cleanup/optimization

When you save three or more ImageField in admin file perm = 0o600 — at Initial Version

Reported by: Yaroslav Demidenko Owned by: nobody
Component: Documentation Version: 1.11
Severity: Normal Keywords: ImageField, save, permissions
Cc: Simen Heggestøyl, Keryn Knight Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This bug find in prod server (nginx, supervisor + gunicorn)

I have models:
MainModel() and
SubModel():

main_id = FK(MainModel)
im1 = ImageField()
im2 = ImageField()
im3 = ImageField()

When I fill SubModel object in admin (as InlineAdmin) and click save button, all images are saved, but permissions == 0600.
If I fill any two imgs (or one), all is well.
Django 1.10.5 - this bug not found.

Sorry for my English.

Change History (0)

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