https://bugzilla.novell.com/show_bug.cgi?id=705449 https://bugzilla.novell.com/show_bug.cgi?id=705449#c0 Summary: rsync does not return an error message if verbose is not specified twice. Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: i686 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lnxgnome@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 An illegal operation (due to target system file permissions) is attempted, but rsync reports success (return code 0, no error message) when it should fail.
rpm -q rsync rsync-3.0.7-8.9.1.i586
Reproducible: Always Steps to Reproduce: Transfer a file from the local host to a remote host (via ssh, with ssh-keys in place on the remote host for password-less login) to a valid user, but trying to place the file into a location that the user does not have permission to. Actual Results:
rsync -pt ~/xdu oracle@remotehost:/root/bin/xdu
echo $? 0
rsync -vpt ~/xdu oracle@remotehost:/root/bin/xdu
sent 34 bytes received 16 bytes 33.33 bytes/sec total size is 1749 speedup is 34.98
echo $? 0
rsync -vvpt ~/xdu oracle@remotehost:/root/bin/xdu opening connection using: ssh -l oracle remotehost rsync --server -vvtpe.Lsf . /root/bin/xdu delta transmission enabled rsync: recv_generator: failed to stat "/root/bin/xdu": Permission denied (13) total: matches=0 hash_hits=0 false_alarms=0 data=0
sent 34 bytes received 16 bytes 100.00 bytes/sec total size is 1749 speedup is 34.98 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7]
echo $? 23
Expected Results: A non-zero return code should be produced, without regard to the level of verbose, when an error occurs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.