﻿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
18233	file_move_safe overwrites destination file	anonymous	Aviral Dasgupta	"On linux with python 2.7 django 1.3 overwrites destination file when using file_move_safe.

It calls os.rename without any checks. But on linux this function overwrites destination file, if it is a file and you have permission to do so.

There should be placed a check just before this call, to ensure, that destination does not exists.

I have also looked to git master and the code have not changed."	Bug	closed	File uploads/storage	1.3	Normal	duplicate		magon@… Aviral Dasgupta	Accepted	1	0	0	1	0	0
