samba-bugs at samba.org
2016-May-04 09:04 UTC
[Bug 11893] New: rsync should check local file access permission before connecting to remote end
https://bugzilla.samba.org/show_bug.cgi?id=11893 Bug ID: 11893 Summary: rsync should check local file access permission before connecting to remote end Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 Component: core Assignee: wayned at samba.org Reporter: rami.lehti at gmail.com QA Contact: rsync-qa at samba.org I'm using rsync to transfer large OS image files around and sometimes the local permissions change so that the sender does not have access to the source file any more. Having previously transferred the file there is already a file of matching size on the target host. Now attempting the transfer again rsync connects to the remote end and the remote end begins to do its checks before the transfer proper. Because the image file is large this will take a long time (10 minutes). After this rsync will report the "Permission denied" error for the local file. It would be more user-friendly to check the local file access permissions before doing anything time consuming and exit with an error as soon as possible. Please consider changing this behaviour. -- You are receiving this mail because: You are the QA Contact for the bug.
samba-bugs at samba.org
2019-Feb-25 17:22 UTC
[Bug 11893] rsync should check local file access permission before connecting to remote end
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.
samba-bugs at samba.org
2019-Feb-25 17:23 UTC
[Bug 11893] rsync should check local file access permission before connecting to remote end
https://bugzilla.samba.org/show_bug.cgi?id=11893 --- Comment #2 from BruXy <martin at analyzere.com> --- I am using: rsync version 3.1.1 protocol version 31 -- You are receiving this mail because: You are the QA Contact for the bug.
Possibly Parallel Threads
- [RFC] Proposed update to convert two 64-bit attribute bitmasks to std::bitset
- Signal 11 on domain join (Debian 10 Samba 4.9.5+dfsg-5+deb10u1)
- [nbdkit PATCH 0/9] RFC: implement NBD_CMD_CACHE
- Signal 11 on domain join (Debian 10 Samba 4.9.5+dfsg-5+deb10u1)
- Signal 11 on domain join (Debian 10 Samba 4.9.5+dfsg-5+deb10u1)