samba-bugs@samba.org
2006-Apr-28 19:58 UTC
DO NOT REPLY [Bug 3740] New: --delete with -a failes with warning (though -a is supposed to imply -r)
https://bugzilla.samba.org/show_bug.cgi?id=3740 Summary: --delete with -a failes with warning (though -a is supposed to imply -r) Product: rsync Version: 2.6.8 Platform: x86 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: imorgan@webcon.ca QAContact: rsync-qa@samba.org After upgrade to 2.6.8:> rsync: --delete does not work without -r or -d. > rsync error: syntax or usage error (code 1) at main.c(1231) [client=2.6.8]Actual command line us using --delete and -a. -a is supposed to mean -rlptgoD. Many existing scripts broken by this, all needing a fix, but not clear what best fix is. Should I be adding -r to the command line, even though -a already implies it!? I think that --delete with -a should _not_ be causing this failure. -- 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.
samba-bugs@samba.org
2006-Apr-28 20:06 UTC
DO NOT REPLY [Bug 3740] --delete with -a failes with warning (though -a is supposed to imply -r)
https://bugzilla.samba.org/show_bug.cgi?id=3740 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from wayned@samba.org 2006-04-28 15:06 MST ------- Please specify more information for how you saw this problem. -- 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.
samba-bugs@samba.org
2006-Apr-28 20:11 UTC
DO NOT REPLY [Bug 3740] --delete with -a failes with warning (though -a is supposed to imply -r)
https://bugzilla.samba.org/show_bug.cgi?id=3740 ------- Comment #2 from imorgan@webcon.ca 2006-04-28 15:11 MST ------- One sample command from script is: rsync --size-only -a -z --partial -L --delete \ --exclude-from=excludefile \ $srcHostDir \ $destDir The emailed output from the cron job contains only:> rsync: --delete does not work without -r or -d. > rsync error: syntax or usage error (code 1) at main.c(1231) [client=2.6.8]-- 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.
samba-bugs@samba.org
2006-Apr-28 20:23 UTC
DO NOT REPLY [Bug 3740] --delete with -a failes with warning (though -a is supposed to imply -r)
https://bugzilla.samba.org/show_bug.cgi?id=3740 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #3 from wayned@samba.org 2006-04-28 15:22 MST ------- I can't duplicate the problem, nor can I see in the code how this could happen. Do you have any popt aliases defined? Are you using a tweaked version (e.g. one packaged by an OS distributor)? -- 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.
samba-bugs@samba.org
2006-Apr-28 20:24 UTC
DO NOT REPLY [Bug 3740] --delete with -a failes with warning (though -a is supposed to imply -r)
https://bugzilla.samba.org/show_bug.cgi?id=3740 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #4 from wayned@samba.org 2006-04-28 15:24 MST ------- I can't duplicate the problem, nor can I see in the code how this could happen. Do you have any popt aliases defined? Are you using a tweaked version (e.g. one packaged by an OS distributor)? -- 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.
samba-bugs@samba.org
2006-Apr-28 20:43 UTC
DO NOT REPLY [Bug 3740] --delete with -a failes with warning (though -a is supposed to imply -r)
https://bugzilla.samba.org/show_bug.cgi?id=3740 imorgan@webcon.ca changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID ------- Comment #5 from imorgan@webcon.ca 2006-04-28 15:42 MST ------- Silly me. Found the problem. Out of the 20+ instances of rsync in the script, only 1 didn't have -a, but still had --delete. So it's our fault (kind of). -- 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.
Reasonably Related Threads
- mysterious crash of a particular worker
- 3 Bugs to Report: OpenSSH V1.2pre13
- DO NOT REPLY [Bug 4132] New: Does not delete partial files upon completion of transfer
- DO NOT REPLY [Bug 3988] New: -a collides with --flags
- DO NOT REPLY [Bug 3929] New: after upgrade from 2.6.6 to 2.6.7 --delete is not functional