﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32604	File uploads larger than FILE_UPLOAD_MAX_MEMORY_SIZE get wrong unix group based on setgid	Gavin Wahl	Mateo Radman	"My MEDIA_ROOT directory has setgid set to force the group of newly created files. For file uploads less than FILE_UPLOAD_MAX_MEMORY_SIZE, django creates a file inside MEDIA_ROOT and the group is set as expected. For larger files, django creates a temporary file in another directory, then moves it to MEDIA_ROOT. Since the file was created in a temporary directory, it doesn't get the correct group. I expect uploaded media files to get the group from MEDIA_ROOT, despite whatever magic django internals are doing.

This can not be fixed with FILE_UPLOAD_PERMISSIONS, because that only sets permissions, not the group of the file.

The permissions form of this bug is referenced here: https://github.com/django-cms/django-filer/issues/1031"	Cleanup/optimization	closed	File uploads/storage	3.1	Normal	fixed			Ready for checkin	1	0	0	0	0	0
