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

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

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:
------- 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:
Before posting, read: