samba-bugs at samba.org
2015-Mar-11 10:41 UTC
[Bug 11151] New: rsync transfers entire source file even when unable to create destination
https://bugzilla.samba.org/show_bug.cgi?id=11151
Bug ID: 11151
Summary: rsync transfers entire source file even when unable to
create destination
Product: rsync
Version: 3.0.9
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: b.candler at pobox.com
QA Contact: rsync-qa at samba.org
[This is with rsync 3.0.9 under Debian Wheezy]
Using the following command to copy a 2TB file:
rsync -t --progress /file/on/nfs/source /local/dest
The permissions were wrong on /local to create the file, but the whole 2TB was
still read from NFS - hence it took ~6 hours for the command to fail!
The issue is easy to replicate, here with a smaller (4.4GB) file:
$ time rsync /nfs/testfile /etc/dontcare
<< hangs at this point for 16 seconds >>
rsync: mkstemp "/etc/.dontcare.xBvfOf" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1070) [sender=3.0.9]
real 0m16.102s
user 0m19.213s
sys 0m7.396s
You can observe the same problem with a local source file (i.e. not involving
NFS), although it needs to be sufficiently large for the problem to be
noticeable.
--
You are receiving this mail because:
You are the QA Contact for the bug.
samba-bugs at samba.org
2015-Apr-04 08:48 UTC
[Bug 11151] rsync transfers entire source file even when unable to create destination
https://bugzilla.samba.org/show_bug.cgi?id=11151 --- Comment #1 from Brian Candler <b.candler at pobox.com> --- Possibly related to #10675 -- You are receiving this mail because: You are the QA Contact for the bug.
Reasonably Related Threads
- "ssh -Q key" does not list rsa-sha2 algorithms
- libssh2 is hanging during a file transfert
- How to join join Ubuntu desktop to AD
- sftp can't preserve uploaded mtime: fsetstat: No such file or directory
- sftp can't preserve uploaded mtime: fsetstat: No such file or directory