Support backups while replacing files
jessevdk@gmail.com
Submitted byAssigned to gvf..@..e.bugs
Link to original bug (#546482)
Description
Currently, the sftp backend does not try to preserve file ownership when replacing a file due to the way the replace is implemented (using a temporary file, and an atomic move of that 'new' file to the original file). In doing this, the ownership of the file might be changed which is bad.