id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4227	copy(move) via ssh [fish] - prevent usage of tmp	schnedan		"I often use mc for convinient copy/move of files via ssh.

There seems to be some problems associated with the usage of /tmp by mc
when a file is bigger than the space available in /tmp the operation is not prevented. mc will copy the file which is about to be copied/moved to ""/tmp/mc-username"" first and fail as soon as /tmp is full.

when mc crashes or needs to be killed (no further response), whatever what it left in ""/tmp/mc-username"" is not removed

So my suggestion is:

* at least optionally it should be possible to not utilize /tmp but to copy files directly (maybe warn the user to not change/remove the file)
* check size of tmp prior of starting an action – and e.g. if the file which is about to be copied/moved, is larger than the available space in /tmp mc should either abort the operation or not using /tmp
* clear ""/tmp/mc-username"" when mc is started, so leftovers from an privious instance are removed (add an instance ID to the filenames, so you can query if there is another instance which owns the file)"	enhancement	closed	major		mc-vfs	master	duplicate	ssh fish /tmp				no branch	
