Bug 11654 - Misleading error message
Misleading error message
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
x64 Linux
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2015-12-30 02:07 UTC by Taso Hatzi
Modified: 2015-12-30 02:14 UTC (History)
0 users

See Also:


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