[Bug 11893] rsync should check local file access permission before connecting to remote end

samba-bugs at samba.org samba-bugs at samba.org
Mon Feb 25 17:22:22 UTC 2019


https://bugzilla.samba.org/show_bug.cgi?id=11893

--- Comment #1 from BruXy <martin at analyzere.com> ---
Hello,

I have fallen into the same trap described in this issue:

$ rsync -avvHPS --rsh='ssh' big_cache.tar.bz bruxy at remote:/mnt/data_cache/      
opening connection using: ssh -l bruxy remote rsync --server
-vvlHogDtprSe.iLsfx --partial . /mnt/data_cache/  (10 args)
sending incremental file list
delta-transmission enabled
big_cache.tar.bz 
697,513,154,774 100%  106.35MB/s    1:44:15 (xfr#1, to-chk=0/1)
rsync: mkstemp "/mnt/data_cache/.big_cache.tar.bz.mQWodj" failed: Permission
denied (13)
total: matches=0  hash_hits=0  false_alarms=0 data=697513154774

sent 697,683,446,175 bytes  received 163 bytes  111,513,377.50 bytes/sec
total size is 697,513,154,774  speedup is 1.00
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1183) [sender=3.1.1]


The error message is displayed after this 650 GB file was transferred, but not
saved in the remote directory because of wrong permission. It would be nice to
receive this error sooner :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list