Bug 11654 - Misleading error message
Summary: Misleading error message
Status: RESOLVED WORKSFORME
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.1
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-30 02:07 UTC by Taso Hatzi
Modified: 2020-07-26 09:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taso Hatzi 2015-12-30 02:07:04 UTC

    
Comment 1 Taso Hatzi 2015-12-30 02:14:43 UTC
rsync bombs with "rsync error: syntax or usage error (code 1) at main.c(873) [Receiver=3.1.1]" if it doesn't have write permissions on the destination.
This is somewhat misleading as everything works OK with the --dry-run switch.

Platform is: Linux phenom 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

rsync version is: 3.1.1-3
Comment 2 Wayne Davison 2020-07-26 09:07:10 UTC
I don't see that error in that scenario.