Rsync works with “–temp-dir=/tmp”. With other directories – error

I synchronize files to a remote server. rsync -aHusSv –temp-dir=”/tmp/rsync” “/mnt/1/” “[email protected]:/mnt/1/” sending incremental file list ./ file.txt 3/ rsync: mkstemp “/tmp/rsync/file.txt.Kwhs4N” failed: No such file or directory (2) sent 199 bytes received 140 bytes 226.00 bytes/sec total size is 3 speedup is 0.01 rsync error: some files/attrs were not transferred (see previous errors) (code…

Details