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

Summary: rsyncing a file to a dest path where dirname(path) is a
file quietly fails
Product: rsync
Version: 2.6.1
Platform: All
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: mdubey@ariba.com
QAContact: rsync-qa@samba.org


home:~> ls -l foo bar
-rw-r--r-- 1 mdubey users 0 Oct 20 00:03 bar
-rw-r--r-- 1 mdubey users 4105 Oct 20 00:03 foo

home:~> rsync -v foo bar/cuz
wrote 34 bytes read 20 bytes 108.00 bytes/sec
total size is 4105 speedup is 76.02
home:~> echo $status
0

home:~> ls -l bar
-rw-r--r-- 1 mdubey users 0 Oct 20 00:03 bar

I have seen this on Solaris (rsync 2.6.1), Redhat (2.6.1) and FreeBSD (2.5.6)

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html