Backup failed! scp: /tmp/virtualmin-copy-test: Permission denied

I have posted this bug before.

I can get around this error for right now, but it is very annoying. I staggar my backups and create cron jobs that
run after the last backup, and erase the:
"/tmp/virtualmin-copy-test" files.

When I run my backup's:

Using The SAME SERVER AND
2 or more backup's are happening at the SAME TIME AND
They use DIFFERENT LOGIN's AND
They use the SSH OR SCP METHOD

I get the following error:

____________________________________________________________

Failed to connect to SSH server : scp failed : backmeup4@192.168.1.200's password:
scp: /tmp/virtualmin-copy-test: Permission denied
Killed by signal 1.

Backup failed! See the progress output above for the reason why.

____________________________________________________________

I understand what is happening the test file called
"/tmp/virtualmin-copy-test" is still there and owned
by the first login (backup1) who started it's backup
first, so the second login (backup2) can't touch it
cause it doesn't own it.

Do you have a better idea than staggering my backup's
and using a cron job to remove the file
"/tmp/virtualmin-copy-test"
or using the exact same username to backup all servers?

Status: 
Closed (fixed)