1 NEWS for rsync 3.1.3 (28 Jan 2018)
2 Protocol: 31 (unchanged)
6 - Fixed a buffer overrun in the protocol's handling of xattr names and
7 ensure that the received name is null terminated.
8 - Fix an issue with --protect-args where the user could specify the arg in
9 the protected-arg list and short-circuit some of the arg-sanitizing code.
13 - Don't output about a new backup dir without appropriate info verbosity.
14 - Fixed some issues with the sort functions in support/rsyncstats script.
15 - Added a way to specify daemon config lists (e.g. users, groups, etc) that
16 contain spaces (see "auth users" in the latest rsyncd.conf manpage).
17 - If a backup fails (e.g. full disk) rsync exits with an error.
18 - Fixed a problem with a doubled --fuzzy option combined with --link-dest.
19 - Avoid invalid output in the summary if either the start or end time had
21 - We don't allow a popt alias to affect the --daemon or --server options.
22 - Fix daemon exclude code to disallow attribute changes in addition to
23 disallowing transfers.
24 - Don't force nanoseconds to match if a non-transferred, non-checksummed
25 file only passed the quick-check w/o comparing nanosecods.
29 - Added the ability for rsync to compare nanosecond times in its file-check
30 comparisons, and added support nanosecond times on Mac OS X.
31 - Added a short-option (-@) for --modify-window.
32 - Added the --checksum-choice=NAME[,NAME] option to choose the checksum
34 - Added hashing of xattr names (with using -X) to improve the handling of
35 files with large numbers of xattrs.
36 - Added a way to filter xattr names using include/exclude/filter rules (see
37 the --xattrs option in the manpage for details).
38 - Added "daemon chroot|uid|gid" to the daemon config (in addition to the
39 old chroot|uid|gid settings that affect the daemon's transfer process).
40 - Added "syslog tag" to the daemon configuration.
41 - Some manpage improvements.
45 - Tweak the "make" output when yodl isn't around to create the man pages.
46 - Changed an obsolete autoconf compile macro.
47 - Support newer yodl versions when converting man pages.
49 NEWS for rsync 3.1.2 (21 Dec 2015)
50 Protocol: 31 (unchanged)
55 - Make sure that all transferred files use only path names from inside the
56 transfer. This makes it impossible for a malicious sender to try to make
57 the receiver use an unsafe destination path for a transferred file, such
58 as a just-sent symlink.
62 - Change the checksum seed order in the per-block checksums. This prevents
63 someone from trying to create checksum blocks that match in sum but not
65 - Fixed a with the per-dir filter files (using -FF) that could trigger an
67 - Only skip set_modtime() on a transferred file if the time is exactly
69 - Don't create an empty backup dir for a transferred file that doesn't
71 - Fixed a bug where --link-dest and --xattrs could cause rsync to exit if
72 a filename had a matching dir of the same name in the alt-dest area.
73 - Allow more than 32 group IDs per user in the daemon's gid=LIST config.
74 - Fix the logging of %b & %c via --log-file (daemon logging was already
75 correct, as was --out-format='%b/%c').
76 - Fix erroneous acceptance of --info=5 & --debug=5 (an empty flag name is
81 - Added "(DRY RUN)" info to the --debug=exit output line.
82 - Use usleep() for our msleep() function if it is available.
83 - Added a few extra long-option names to rrsync script, which will make
85 - Made configure choose to use linux xattrs on netbsd (rather than not
87 - Added -wo (write-only) option to rrsync support script.
88 - Misc. manpage tweaks.
92 - Fixed a bug with the Makefile's use of INSTALL_STRIP.
93 - Improve a test in the suite that could get an erroneous timestamp error.
94 - Tweaks for newer versions of git in the packaging tools.
95 - Improved the m4 generation rules and some autoconf idioms.
97 NEWS for rsync 3.1.1 (22 Jun 2014)
98 Protocol: 31 (unchanged)
103 - If the receiver gets bogus filenames from the sender (an unexpected
104 leading slash or a ".." infix dir), exit with an error. This prevents a
105 malicious sender from trying to inject filenames that would affect an
106 area outside the destination directories.
108 - Fixed a failure to remove the partial-transfer temp file when interrupted
109 (and rsync is not saving the partial files).
111 - Changed the chown/group/xattr-set order to avoid losing some security-
112 related xattr info (that would get cleared by a chown).
114 - Fixed a bug in the xattr-finding code that could make a non-root-run
115 receiver not able to find some xattr numbers.
117 - Fixed a bug in the early daemon protocol where a timeout failed to be
118 honored (e.g. if the remote side fails to send us the initial protocol
121 - Fixed unintended inclusion of commas in file numbers in the daemon log.
123 - We once again send the 'f' sub-flag (of -e) to the server side so it
124 knows that we can handle incremental-recursion directory errors properly
127 - Fixed an issue with too-aggressive keep-alive messages causing a problem
128 for older rsync versions early in the transfer.
130 - Fixed an incorrect message about backup-directory-creation when using
131 --dry-run and the backup dir is not an absolute path.
133 - Fixed a bug where a failed deletion and/or a failed sender-side removal
134 would not affect the exit code.
136 - Fixed a bug that caused a failure when combining --delete-missing-args
137 with --xattrs and/or --acls.
139 - Fixed a strange dir_depth assertion error that was caused by empty-dir
140 removals and/or duplicate files in the transfer.
142 - Fixed a problem with --info=progress2's output stats where rsync would
143 only update the stats at the end of each file's transfer. It now uses
144 the data that is flowing for the current file, making the stats more
145 accurate and less jumpy.
147 - Fixed an itemize bug that affected the combo of --link-dest, -X, and -n.
149 - Fixed a problem with delete messages not appearing in the log file when
150 the user didn't use --verbose.
152 - Improve chunked xattr reading for OS X.
154 - Removed an attempted hard-link xattr optimization that was causing a
155 transfer failure. This removal is flagged in the compatibility code, so
156 if a better fix can be discovered, we have a way to flip it on again.
158 - Fixed a bug when the receiver is not configured to be able to hard link
159 symlimks/devices/special-file items but the sender sent some of these
160 items flagged as hard-linked.
162 - We now generate a better error if the buffer overflows in do_mknod().
164 - Fixed a problem reading more than 16 ACLs on some OSes.
166 - Fixed the reading of the secrets file to avoid an infinite wait when
167 the username is missing.
169 - Fixed a parsing problem in the --usermap/--groupmap options when using
172 - Switched Cygwin back to using socketpair "pipes" to try to speed it up.
174 - Added knowledge of a few new options to rrsync.
178 - Tweaked the temp-file naming when --temp-dir=DIR is used: the temp-file
179 names will not get a '.' prepended.
181 - Added support for a new-compression idiom that does not compress all the
182 matching data in a transfer. This can help rsync to use less cpu when a
183 transfer has a lot of matching data, and also makes rsync compatible with
184 a non-bundled zlib. See the --new-compress and --old-compress options in
187 - Added the support/rsync-no-vanished wrapper script.
189 - Made configure more prominently mention when we failed to find yodl (in
190 case the user wants to be able to generate manpages from *.yo files).
192 - Have manpage mention how a daemon's max-verbosity setting affects info
193 and debug options. Also added more clarification on backslash removals
194 for excludes that contain wildcards.
196 - Have configure check if for the attr lib (for getxattr) for those systems
197 that need to link against it explicitly.
199 - Change the early dir-creation logic to only use that idiom in an
200 inc-recursive copy that is preserving directory times. e.g. using
201 --omit-dir-times will avoid these early directories being created.
203 - Fix a bug in cmp_time() that would return a wrong result if the 2 times
204 differed by an amount greater than what a time_t can hold.
208 - We now include an example systemd file (in packaging/systemd).
210 - Tweaked configure to make sure that any intended use of the included popt
211 and/or zlib code is put early in the CFLAGS.
213 NEWS for rsync 3.1.0 (28 Sep 2013)
214 Protocol: 31 (changed)
219 - Output numbers in 3-digit groups by default (e.g. 1,234,567). See the
220 --human-readable option for a way to turn it off. See also the daemon's
221 "log format" parameter and related command-line options (including
222 --out-format) for a modifier that can be used to request digit-grouping
223 or human-readable output in log escapes. (Note that log output is
224 unchanged by default.)
226 - The --list-only option is now affected by the --human-readable setting.
227 It will display digit groupings by default, and unit suffixes if higher
228 levels of readability are requested. Also, the column width for the size
229 output has increased from 11 to 14 characters when human readability is
230 enabled. Use --no-h to get the old-style output and column size.
232 - The output of the --progress option has changed: the string "xfer" was
233 shortened to "xfr", and the string "to-check" was shortened to "to-chk",
234 both designed to make room for the (by default) wider display of file
235 size numbers without making the total line-length longer. Also, when
236 incremental recursion is enabled, the string "ir-chk" will be used
237 instead of "to-chk" up until the incremental-recursion scan is done,
238 letting you know that the value to check and the total value will still
239 be increasing as new files are found.
241 - Enhanced the --stats output: 1) to mention how many files were created
242 (protocol >= 28), 2) to mention how many files were deleted (a new line
243 for protocol 31, but only output when --delete is in effect), and 3) to
244 follow the file-count, created-count, and deleted-count with a subcount
245 list that shows the counts by type. The wording of the transferred count
246 has also changed so that it is clearer that it is only a count of regular
251 - Fixed a bug in the iconv code when EINVAL or EILSEQ is returned with a
254 - Fixed some rare bugs in --iconv processing that might cause a multibyte
255 character to get translated incorrectly.
257 - Fixed a bogus "vanished file" error if some files were specified with
258 "./" prefixes and others were not.
260 - Fixed a bug in --sparse where an extra gap could get inserted after a
263 - Changed the way --progress overwrites its prior output in order to make
264 it nearly impossible for the progress to get overwritten by an error.
266 - Improved the propagation of abnormal-exit error messages. This should
267 help the client side to receive errors from the server when it is exiting
268 abnormally, and should also avoid dying with an "connection unexpectedly
269 closed" exit when the closed connection is really expected.
271 - The sender now checks each file it plans to remove to ensure that it
272 hasn't changed from the first stat's info. This helps to avoid losing
273 file data when the user is not using the option in a safe manner.
275 - Fixed a data-duplication bug in the compress option that made compression
276 less efficient. This improves protocol 31 onward, while behaving in a
277 compatible (buggy) manner with older rsync protocols.
279 - When creating a temp-file, rsync is now a bit smarter about it dot-char
280 choices, which can fix a problem on OS X with names that start with "..".
282 - Rsync now sets a cleanup flag for --inplace and --append transfers that
283 will flush the write buffer if the transfer aborts. This ensures that
284 more received data gets written out to the disk on an aborted transfer
285 (which is quite helpful on a slow, flaky connection).
287 - The reads that map_ptr() now does are aligned on 1K boundaries. This
288 helps some filesystems and/or files that don't like unaligned reads.
290 - Fix an issue in the msleep() function if time jumps backwards.
292 - Fix daemon-server module-name splitting bug where an arg would get split
293 even if --protect-args was used.
297 - Added the --remote-option=OPT (-M OPT) command-line option that is useful
298 for things like sending a remote --log-file=FILE or --fake-super option.
300 - Added the --info=FLAGS and --debug=FLAGS options to allow finer-grained
301 control over what is output. Added an extra type of --progress output
302 using --info=progress2.
304 - The --msgs2stderr option can help with debugging rsync by allowing the
305 debug messages to get output to stderr rather than travel via the socket
308 - Added the --delete-missing-args and --ignore-missing-args options to
309 either delete or ignore user-specified files on the receiver that are
310 missing on the sender (normally the absence of user-specified files
313 - Added a "T" (terabyte) category to the --human-readable size suffixes.
315 - Added the --usermap/--groupmap/--chown options for manipulating file
316 ownership during the copy.
318 - Added the "%C" escape to the log-output handling, which will output the
319 MD5 checksum of any transferred file, or all files if --checksum was
320 specified (when protocol 30 or above is in effect).
322 - Added the "reverse lookup" parameter to the rsync daemon config file to
323 allow reverse-DNS lookups to be disabled.
325 - Added a forward-DNS lookup for the daemon's hosts allow/deny config. Can
326 be disabled via "forward lookup" parameter (defaults to enabled).
328 - Added a way for more than one group to be specified in the daemon's
329 config file, including a way to specify that you want all of the
330 specified user's groups without having to name them. Also changed the
331 daemon to complain about an inability to set explicitly-specified uid/gid
332 values, even when not run by a super-user.
334 - The daemon now tries to send the user the error messages from the
335 pre-xfer exec script when it fails.
337 - Improved the use of alt-dest options into an existing hierarchy of files:
338 If a match is found in an alt-dir, it takes precedence over an existing
339 file. (We'll need to wait for a future version before attribute-changes
340 on otherwise unchanged files are safe when using an existing hierarchy.)
342 - Added per-user authorization options and group-authorization support to
343 the daemon's "auth users" parameter.
345 - Added a way to reference environment variables in a daemon's config file
346 (using %VAR% references).
348 - When replacing a non-dir with a symlink/hard-link/device/special-file,
349 the update should now be done in an atomic manner.
351 - Avoid re-sending xattr info for hard-linked files w/the same xattrs
354 - The backup code was improved to use better logic maintaining the backup
355 directory hierarchy. Also, when a file is being backed up, rsync tries
356 to hard-link it into place so that the upcoming replacement of the
357 destination file will be atomic (for the normal, non-inplace logic).
359 - Added the ability to synchronize nano-second modified times.
361 - Added a few more default suffixes for the "dont compress" settings.
363 - Added the checking of the RSYNC_PROTECT_ARGS environment variable to allow
364 the default for the --protect-args command-line option to be overridden.
366 - Added the --preallocate command-line option.
368 - Allow --password-file=- to read the password from stdin (filename "-").
370 - Rsync now comes packaged with an rsync-ssl helper script that can be
371 used to contact a remote rsync daemon using a piped-stunnel command.
372 It also includes an stunnel config file to run the server side to
373 support ssl daemon connections. See the packaging/lsb/rsync.spec
374 file for one way to package the resulting files. (Suggestions for
375 how to make this even easier to install & use are welcomed.)
377 - Improved the speed of some --inplace updates when there are lots of
378 identical checksum blocks that end up being unusable.
380 - Added the --outbuf=N|L|B option for choosing the output buffering.
382 - Repeating the --fuzzy option now causes the code to look for fuzzy
383 matches inside alt-dest directories too.
385 - The --chmod option now supports numeric modes, e.g. --chmod=644,D755
387 - Added some Solaris xattr code.
389 - Made an rsync daemon (the listening process) exit with a 0 status when
390 it was signaled to die. This helps launchd.
392 - Improved the RSYNC_* environment variables for the pre-xfer exec script:
393 when a daemon is sent multiple request args, they are now joined into a
394 single return value (separated by spaces) so that the RSYNC_REQUEST
395 environment variable is accurate for any "pre-xfer exec". The values in
396 RSYNC_ARG# vars are no longer truncated at the "." arg (prior to the
397 request dirs/files), so that all the requested values are also listed
398 (separately) in RSYNC_ARG# variables.
402 - Added an "instant-rsyncd" script to the support directory, which makes
403 it easy to configure a simple rsync daemon in the current directory.
405 - Added the "mapfrom" and "mapto" scripts to the support directory, which
406 makes it easier to do user/group mapping in a local transfer based on
407 passwd/group files from another machine.
409 - There's a new, improved version of the lsh script in the support dir:
410 it's written in perl and supports -u without resorting to using sudo
411 (when run as root). The old shell version is now named lsh.sh.
413 - There is a helper script named rsync-slash-strip in the support directory
414 for anyone that wants to change the way rsync handles args with trailing
415 slashes. (e.g. arg/ would get stripped to arg while arg/. would turn into
420 - The I/O code was rewritten to be simpler and do bigger buffered reads
421 over the socket. The I/O between the receiver and the generator was
422 changed to be standard multiplexed-I/O (like that over the socket).
424 - The sender tries to use any dead time while the generator is looking for
425 files to transfer in order to do sender-side directory scanning in a more
428 - A daemon can now inform a client about a daemon-configured timeout value
429 so that the client can assist in the keep-alive activity (protocol 31).
431 - The filter code received some refactoring to make it more extendible, to
432 read better, and do better sanity checking.
434 - Really big numbers are now output using our own big-num routine rather
435 than casting them to a double and using a %.0f conversion.
437 - The pool_alloc library has received some minor improvements in alignment
440 - Added init_stat_x() function to avoid duplication of acl/xattr init code.
442 - The included zlib was upgraded from 1.2.3 to 1.2.8.
444 - Rsync can now be compiled to use an unmodified zlib library instead of
445 the tweaked one that is included with rsync. This will eventually
446 become the default, at which point we'll start the countdown to removing
447 the included zlib. Until then, feel free to configure using:
449 ./configure --with-included-zlib=no
453 - Added more conditional debug output.
455 - Fixed some build issues for android and minix.
457 NEWS for rsync 3.0.9 (23 Sep 2011)
458 Protocol: 30 (unchanged)
463 - Fix a crash bug in checksum scanning when --inplace is used.
465 - Fix a hang if a hard-linked file cannot be opened by the sender (e.g.
466 if it has no read permission).
468 - Fix preservation of a symlink's system xattrs (e.g. selinux) on Linux.
470 - Fix a memory leak in the xattr code.
472 - Fixed a bug with --delete-excluded when a filter merge file has a rule
473 that specifies a receiver-only side restriction.
475 - Fix a bug with the modifying of unwritable directories.
477 - Fix --fake-super's interaction with --link-dest same-file comparisons.
479 - Fix the updating of the curr_dir buffer to avoid a duplicate slash.
481 - Fix the directory permissions on an implied dot-dir when using --relative
482 (e.g. /outside/path/././send/path).
484 - Fixed some too-long sleeping instances when using --bwlimit.
486 - Fixed when symlink ownership difference-checking gets compiled into
489 - Improved the socket-error reporting when multiple protocols fail.
491 - Fixed a case where a socket error could reference just-freed memory.
493 - Failing to use a password file that was specified on the command-line is
496 - Fix the non-root updating of directories that don't have the read and/or
499 - Make daemon-excluded file errors more error-like.
501 - Fix a compilation issue on older C compilers (due to a misplaced var
504 - Make configure avoid finding socketpair on cygwin.
506 - Avoid trying to reference SO_BROADCAST if the OS doesn't support it.
508 - Fix some issues with the post-processing of the man pages.
510 - Fixed the user home-dir handling in the support/lsh script.
512 - Some minor manpage improvements.
514 NEWS for rsync 3.0.8 (26 Mar 2011)
515 Protocol: 30 (unchanged)
520 - Fixed two buffer-overflow issues: one where a directory path that is
521 exactly MAXPATHLEN was not handled correctly, and one handling a
522 --backup-dir that is extra extra large.
524 - Fixed a data-corruption issue when preserving hard-links without
525 preserving file ownership, and doing deletions either before or during
526 the transfer (CVE-2011-1097). This fixes some assert errors in the
527 hard-linking code, and some potential failed checksums (via -c) that
530 - Fixed a potential crash when an rsync daemon has a filter/exclude list
531 and the transfer is using ACLs or xattrs.
533 - Fixed a hang if a really large file is being processed by an rsync that
534 can't handle 64-bit numbers. Rsync will now complain about the file
535 being too big and skip it.
537 - For devices and special files, we now avoid gathering useless ACL and/or
538 xattr information for files that aren't being copied. (The un-copied
539 files are still put into the file list, but there's no need to gather
540 data that is not going to be used.) This ensures that if the user uses
541 --no-D, that rsync can't possibly complain about being unable to gather
542 extended information from special files that are in the file list (but
543 not in the transfer).
545 - Properly handle requesting remote filenames that start with a dash. This
546 avoids a potential error where a filename could be interpreted as a
547 (usually invalid) option.
549 - Fixed a bug in the comparing of upper-case letters in file suffixes for
552 - If an rsync daemon has a module configured without a path setting, rsync
553 will now disallow access to that module.
555 - If the destination arg is an empty string, it will be treated as a
556 reference to the current directory (as 2.x used to do).
558 - If rsync was compiled with a newer time-setting function (such as
559 lutimes), rsync will fall-back to an older function (such as utimes) on a
560 system where the newer function is not around. This helps to make the
561 rsync binary more portable in mixed-OS-release situations.
563 - Fixed a batch-file writing bug that would not write out the full set of
564 compatibility flags that the transfer was using. This fixes a potential
565 protocol problem for a batch file that contains a sender-side I/O error:
566 it would have been sent in a way that the batch-reader wasn't expecting.
568 - Some improvements to the hard-linking code to ensure that device-number
569 hashing is working right, and to supply more information if the hard-link
572 - The --inplace code was improved to not search for an impossible checksum
573 position. The quadruple-verbose chunk[N] message will now mention when
574 an inplace chunk was handled by a seek rather than a read+write.
576 - Improved ACL mask handling, e.g. for Solaris.
578 - Fixed a bug that prevented --numeric-ids from disabling the translation
579 of user/group IDs for ACLs.
581 - Fixed an issue where an xattr and/or ACL transfer that used an alt-dest
582 option (e.g. --link-dest) could output an error trying to itemize the
583 changes against the alt-dest directory's xattr/ACL info but was instead
584 trying to access the not-yet-existing new destination directory.
586 - Improved xattr system-error messages to mention the full path to the
589 - The --link-dest checking for identical symlinks now avoids considering
590 attribute differences that cannot be changed on the receiver.
592 - Avoid trying to read/write xattrs on certain file types for certain OSes.
593 Improved configure to set NO_SYMLINK_XATTRS, NO_DEVICE_XATTRS, and/or
594 NO_SPECIAL_XATTRS defines in config.h.
596 - Improved the unsafe-symlink errors messages.
598 - Fixed a bug setting xattrs on new files that aren't user writable.
600 - Avoid re-setting xattrs on a hard-linked file w/the same xattrs.
602 - Fixed a bug with --fake-super when copying files and dirs that aren't
605 - Fixed a bug where a sparse file could have its last sparse block turned
606 into a real block when rsync sets the file size (requires ftruncate).
608 - If a temp-file name is too long, rsync now avoids truncating the name in
609 the middle of adjacent high-bit characters. This prevents a potential
610 filename error if the filesystem doesn't allow a name to contain an
611 invalid multi-byte sequence.
613 - If a muli-protocol socket connection fails (i.e., when contacting a
614 daemon), we now report all the failures, not just the last one. This
615 avoids losing a relevant error (e.g. an IPv4 connection-refused error)
616 that happened before the final error (e.g. an IPv6 protocol-not-supported
619 - Generate a transfer error if we try to call chown with a -1 for a uid or
620 a gid (which is not settable).
622 - Fixed the working of --force when used with --one-file-system.
624 - Fix the popt arg parsing so that an option that doesn't take an arg will
625 reject an attempt to supply one (can configure --with-included-popt if
626 your system's popt library doesn't yet have this fix).
628 - A couple minor option tweaks to the support/rrsync script, and also some
629 regex changes that make vim highlighting happier.
631 - Fixed some issues in the support/mnt-excl script.
633 - Various manpage improvements.
637 - Added ".hg/" to the default cvs excludes (see -C & --cvs-exclude).
641 - Use lchmod() whenever it is available (not just on symlinks).
643 - A couple fixes to the socketpair_tcp() routine.
645 - Updated the helper scripts in the packaging subdirectory.
647 - Renamed configure.in to configure.ac.
649 - Fixed configure's checking for iconv routines for newer OS X versions.
651 - Fixed the testsuite/xattrs.test script on OS X.
653 NEWS for rsync 3.0.7 (31 Dec 2009)
654 Protocol: 30 (unchanged)
659 - Fixed a bogus free when using --xattrs with --backup.
661 - Avoid an error when --dry-run was trying to stat a prior hard-link file
662 that hasn't really been created.
664 - Fixed a problem with --compress (-z) where the receiving side could
665 return the error "inflate (token) returned -5".
667 - Fixed a bug where --delete-during could delete in a directory before it
668 noticed that the sending side sent an I/O error for that directory (both
669 sides of the transfer must be at least 3.0.7).
671 - Improved --skip-compress's error handling of bad character-sets and got
672 rid of a lingering debug fprintf().
674 - Fixed the daemon's conveyance of io_error value from the sender.
676 - An rsync daemon use seteuid() (when available) if it used setuid().
678 - Get the permissions right on a --fake-super transferred directory that
679 needs more owner permissions to emulate root behavior.
681 - An absolute-path filter rule (i.e. with a '/' modifier) no longer loses
682 its modifier when sending the filter rules to the remote rsync.
684 - Improved the "--delete does not work without -r or -d" message.
686 - Improved rsync's handling of --timeout to avoid a weird timeout case
687 where the sender could timeout even though it has recently written data
688 to the socket (but hasn't read data recently, due to the writing).
690 - Some misc manpage improvements.
692 - Fixed the chmod-temp-dir testsuite on a system without /var/tmp.
694 - Make sure that a timeout specified in the daemon's config is used as a
695 maximum timeout value when the user also specifies a timeout.
697 - Improved the error-exit reporting when rsync gets an error trying to
698 cleanup after an error: the initial error is reported.
700 - Improved configure's detection of IPv6 for solaris and cygwin.
702 - The AIX sysacls routines will now return ENOSYS if ENOTSUP is missing.
704 - Made our (only used if missing) getaddrinfo() routine use inet_pton()
705 (which we also provide) instead of inet_aton().
707 - The exit-related debug messages now mention the program's role so it is
708 clear who output what message.
712 - Got rid of type-punned compiler warnings output by newer gcc versions.
714 - The Makefile now ensures that proto.h will be rebuilt if config.h changes.
716 - The testsuite no longer uses "id -u", so it works better on solaris.
719 NEWS for rsync 3.0.6 (8 May 2009)
720 Protocol: 30 (unchanged)
725 - Fixed a --read-batch hang when rsync is reading a batch file that was
726 created from an incremental-recursion transfer.
728 - Fixed the daemon's socket code to handle the simultaneous arrival of
729 multiple connections.
731 - Fix --safe-links/--copy-unsafe-links to properly handle symlinks that
732 have consecutive slashes in the value.
734 - Fixed the parsing of an [IPv6_LITERAL_ADDR] when a USER@ is prefixed.
736 - The sender now skips a (bogus) symlink that has a 0-length value, which
737 avoids a transfer error in the receiver.
739 - Fixed a case where the sender could die with a tag-0 error if there was
740 an I/O during the sending of the file list.
742 - Fixed the rrsync script to avoid a server-side problem when -e is at the
743 start of the short options.
745 - Fixed a problem where a vanished directory could turn into an exit code
746 23 instead of the proper exit code 24.
748 - Fixed the --iconv conversion of symlinks when doing a local copy.
750 - Fixed a problem where --one-file-system was not stopping deletions on the
751 receiving side when a mount-point directory did not match a directory in
754 - Fixed the dropping of an ACL mask when no named ACL values were present.
756 - Fixed an ACL/xattr corruption issue where the --backup option could cause
757 rsync to associate the wrong ACL/xattr information with received files.
759 - Fixed the use of --xattrs with --only-write-batch.
761 - Fixed the use of --dry-run with --read-batch.
763 - Fixed configure's erroneous use of target.
765 - Fixed configure's --disable-debug option.
767 - Fixed a run-time issue for systems that can't find iconv_open() by adding
768 the --disable-iconv-open configure option.
770 - Complain and die if the user tries to combine --remove-source-files (or
771 the deprecated --remove-sent-files) with --read-batch.
773 - Fixed an failure transferring special files from Solaris to Linux.
776 NEWS for rsync 3.0.5 (28 Dec 2008)
777 Protocol: 30 (unchanged)
782 - Initialize xattr data in a couple spots in the hlink code, which avoids a
783 crash when the xattr pointer's memory happens to start out non-zero.
784 Also fixed the itemizing of an alt-dest file's xattrs when hard-linking.
786 - Don't send a bogus "-" option to an older server if there were no short
789 - Fixed skipping of unneeded updates in a batch file when incremental
790 recursion is active. Added a test for this. Made batch-mode handle
791 "redo" files properly (and without hanging).
793 - Fix the %P logfile escape when the daemon logs from inside a chroot.
795 - Fixed the use of -s (--protect-args) when used with a remote source or
796 destination that had an empty path (e.g. "host:"). Also fixed a problem
797 when -s was used when accessing a daemon via a remote-shell.
799 - Fixed the use of a dot-dir path (e.g. foo/./bar) inside a --files-from
800 file when the root of the transfer isn't the current directory.
802 - Fixed a bug with "-K --delete" removing symlinks to directories when
803 incremental recursion is active.
805 - Fixed a hard to trigger hang when using --remove-source-files.
807 - Got rid of an annoying delay when accessing a daemon via a remote-shell.
809 - Properly ignore (superfluous) source args on a --read-batch command.
811 - Improved the manpage's description of the '*' wildcard to remove the
812 confusing "non-empty" qualifier.
814 - Fixed reverse lookups in the compatibility-library version of
817 - Fixed a bug when using --sparse on a sparse file that has over 2GB of
818 consecutive sparse data.
820 - Avoid a hang when using at least 3 --verbose options on a transfer with a
821 client sender (which includes local copying).
823 - Fixed a problem with --delete-delay reporting an error when it was ready
824 to remove a directory that was now gone.
826 - Got rid of a bunch of "warn_unused_result" compiler warnings.
828 - If an ftruncate() on a received file fails, it now causes a partial-
831 - Allow a path with a leading "//" to be preserved (CYGWIN only).
835 - Made the support/atomic-rsync script able to perform a fully atomic
836 update of the copied hierarchy when the destination is setup using a
837 particular symlink idiom.
840 NEWS for rsync 3.0.4 (6 Sep 2008)
841 Protocol: 30 (unchanged)
846 - Fixed a bug in the hard-linking code where it would sometimes try to
847 allocate 0 bytes of memory (which fails on some OSes, such as AIX).
849 - Fixed the hard-linking of files from a device that has a device number
850 of 0 (which seems to be a common device number on NetBSD).
852 - Fixed the handling of a --partial-dir that cannot be created. This
853 particularly impacts the --delay-updates option (since the files cannot
854 be delayed without a partial-dir), and was potentially destructive if
855 the --remove-source-files was also specified.
857 - Fixed a couple issues in the --fake-super handling of xattrs when the
858 destination files have root-level attributes (e.g. selinux values) that
859 a non-root copy can't affect.
861 - Improved the keep-alive check in the generator to fire consistently in
862 incremental-recursion mode when --timeout is enabled.
864 - The --iconv option now converts the content of a symlink too, instead
865 of leaving it in the wrong character-set (requires 3.0.4 on both sides
868 - When using --iconv, if a filename fails to convert on the receiving side,
869 this no longer makes deletions in the root-dir of the transfer fail
870 silently (the user now gets a warning about deletions being disabled
871 due to IO error as long as --ignore-errors was not specified).
873 - When using --iconv, if a server-side receiver can't convert a filename,
874 the error message sent back to the client no longer mangles the name
875 with the wrong charset conversion.
877 - Fixed a potential alignment issue in the IRIX ACL code when allocating
878 the initial "struct acl" object. Also, cast mallocs to avoid warnings.
880 - Changed some errors that were going to stdout to go to stderr.
882 - Made human_num() and human_dnum() able to output a negative number
883 (rather than outputting a cryptic string of punctuation).
887 - Rsync will avoid sending an -e option to the server if an older protocol
888 is requested (and thus the option would not be useful). This lets the
889 user specify the --protocol=29 option to access an overly-restrictive
890 server that is rejecting the protocol-30 use of -e to the server.
892 - Improved the message output for an RERR_PARTIAL exit.
896 - The Makefile will not halt for just a timestamp change on the Makefile
897 or the configure files, only for actual changes in content.
899 - Changed some commands in the testsuite's xattrs.test that called "rsync"
902 - Enhanced the release scripts to be able to handle a branch release and
903 to do even more consistency checks on the files.
906 NEWS for rsync 3.0.3 (29 Jun 2008)
907 Protocol: 30 (unchanged)
912 - Fixed a wildcard matching problem in the daemon when a module has
913 "use chroot" enabled.
915 - Fixed a crash bug in the hard-link code.
917 - Fixed the sending of xattr directory information when the code finds a
918 --link-dest or --copy-dest directory with unchanged xattrs -- the
919 destination directory now gets these unchanged xattrs properly applied.
921 - Fixed an xattr-sending glitch that could cause an "Internal abbrev"
924 - Fixed the combination of --xattrs and --backup.
926 - The generator no longer allows a '.' dir to be excluded by a daemon-
929 - Fixed deletion handling when copying a single, empty directory (with no
930 files) to a differently named, non-existent directory.
932 - Fixed the conversion of spaces into dashes in the %M log escape.
934 - Fixed several places in the code that were not returning the right
935 errno when a function failed.
937 - Fixed the backing up of a device or special file into a backup dir.
939 - Moved the setting of the socket options prior to the connect().
941 - If rsync exits in the middle of a --progress output, it now outputs a
942 newline to help prevent the progress line from being overwritten.
944 - Fixed a problem with how a destination path with a trailing slash or
945 a trailing dot-dir was compared against the daemon excludes.
947 - Fixed the sending of large (size > 16GB) files when talking to an older
948 rsync (protocols < 30): we now use a compatible block size limit.
950 - If a file's length is so huge that we overflow a checksum buffer count
951 (i.e. several hundred TB), warn the user and avoid sending an invalid
952 checksum struct over the wire.
954 - If a source arg is excluded, --relative no longer adds the excluded
955 arg's implied dirs to the transfer. This fix also made the exclude
956 check happen in the better place in the sending code.
958 - Use the overflow_exit() function for overflows, not out_of_memory().
960 - Improved the code to better handle a system that has only 32-bit file
965 - The rsyncd.conf manpage now consistently refers to the parameters in
966 the daemon config file as "parameters".
968 - The description of the --inplace option was improved.
972 - Added a new script in the support directory, deny-rsync, which allows
973 an admin to (temporarily) replace the rsync command with a script that
974 sends an error message to the remote client via the rsync protocol.
978 - Fixed a testcase failure if the tests are run as root and made some
979 compatibility improvements.
981 - Improved the daemon tests, including checking module comments, the
982 listing of files, and the ensuring that daemon excludes can't affect
985 - Improved some build rules for those that build in a separate directory
986 from the source, including better install rules for the man pages, and
987 the fixing of a proto.h-tstamp rule that could make the binaries get
988 rebuild without cause.
990 - Improved the testsuite to work around a problem with some utilities
991 (e.g. cp -p & touch -r) rounding sub-second timestamps.
993 - Ensure that the early patches don't cause any generated-file hunks to
994 bleed-over into patches that follow.
997 NEWS for rsync 3.0.2 (8 Apr 2008)
998 Protocol: 30 (unchanged)
1003 - Fixed a potential buffer overflow in the xattr code.
1011 - The RPM spec file was improved to install more useful files.
1013 - A few developer-oriented scripts were moved from the support dir
1014 to the packaging dir.
1017 NEWS for rsync 3.0.1 (3 Apr 2008)
1018 Protocol: 30 (unchanged)
1019 Changes since 3.0.0:
1021 NOTABLE CHANGES IN BEHAVIOR:
1023 - Added the 'c'-flag to the itemizing of non-regular files so that the
1024 itemized output doesn't get hidden if there were no attribute changes,
1025 and also so that the itemizing of a --copy-links run will distinguish
1026 between copying an identical non-regular file and the creation of a
1027 revised version with a new value (e.g. a changed symlink referent, a
1028 new device number, etc.).
1032 - Fixed a crash bug when a single-use rsync daemon (via remote shell) was
1033 run without specifying a --config=FILE option.
1035 - Fixed a crash when backing up a directory that has a default ACL.
1037 - Fixed a bug in the handling of xattr values that could cause rsync to
1038 not think that a file's extended attributes are up-to-date.
1040 - Fixed the working of --fake-super with --link-dest and --xattrs.
1042 - Fixed a hang when combining --dry-run with --remove-source-files.
1044 - Fixed a bug with --iconv's handling of files that cannot be converted:
1045 a failed name can no longer cause a transfer failure.
1047 - Fixed the building of the rounding.h file on systems that need custom
1048 CPPFLAGS to be used. Also improved the error reporting if the building
1049 of rounding.h fails.
1051 - Fixed the use of the --protect-args (-s) option when talking to a daemon.
1053 - Fixed the --ignore-existing option's protection of files on the receiver
1054 that are non-regular files on the sender (e.g. if a symlink or a dir on
1055 the sender is trying to replace a file on the receiver). The reverse
1056 protection (protecting a dir/symlink/device from being replaced by a
1057 file) was already working.
1059 - Fixed an assert failure if --hard-links is combined with an option that
1060 can skip a file in a set of hard-linked files (i.e. --ignore-existing,
1061 --append, etc.), without skipping all the files in the set.
1063 - Avoid setting the modify time on a directory that already has the right
1064 modify time set. This avoids tweaking the dir's ctime.
1066 - Improved the daemon-exclude handling to do a better job of applying the
1067 exclude rules to path entries. It also sends the user an error just as
1068 if the files were actually missing (instead of silently ignoring the
1069 user's args), and avoids sending the user the filter-action messages
1070 for these non-user-initiated rules.
1072 - Fixed some glitches with the dry-run code's missing-directory
1073 handling, including a problem when combined with --fuzzy.
1075 - Fixed some glitches with the skipped-directory handling.
1077 - Fixed the 'T'-flag itemizing of symlinks when --time isn't preserved.
1079 - Fixed a glitch in the itemizing of permissions with the -E option.
1081 - The --append option's restricting of transfers to those that add data no
1082 longer prevents the updating of non-content changes to otherwise up-to-
1083 date files (i.e. those with the same content but differing permissions,
1084 ownership, xattrs, etc.).
1086 - Don't allow --fake-super to be specified with -XX (double --xattrs)
1087 because the options conflict. If a daemon has "fake super" enabled,
1088 it automatically downgrades a -XX request to -X.
1090 - Fixed a couple bugs in the parsing of daemon-config excludes that could
1091 make a floating exclude rule get treated as matching an absolute path.
1093 - A daemon doesn't try to auto-refuse the "iconv" option if iconv-support
1094 wasn't compiled in to the daemon (avoiding a warning in the logs).
1096 - Fixed the inclusion of per-dir merge files from implied dirs.
1098 - Fixed the support/rrsync script to work with the latest options that
1099 rsync sends (including its flag-specifying use of -e to the server).
1103 - Added the --old-dirs (--old-d) option to make it easier for a user to
1104 ask for file-listings with older rsync versions (this is easier than
1105 having to type "-r --exclude='/*/*'" manually).
1107 - When getting an error while asking an older rsync daemon for a file
1108 listing, rsync will try to notice if the error is a rejection of the
1109 --dirs (-d) option and let the user know how to work around the issue.
1111 - Added a few more --no-OPTION overrides.
1113 - Improved the documentation of the --append option.
1115 - Improved the documentation of the filter/exclude/include daemon
1120 - Fixed a couple minor bugs in the included popt library (ones which I
1121 sent to the official popt project for inclusion in the 1.14 release).
1123 - Fixed a stat() call that should have been do_stat() so that the proper
1124 normal/64-bit stat() function gets called. (Was in an area that should
1125 not have caused problems, though.)
1127 - Changed the file-glob code to do a directory scan without using the
1128 "glob" and "glob.h". This lets us do the globbing with less memory
1129 churn, and also avoid adding daemon-excluded items to the returned
1134 - The configure script tries to get the user's compiler to not warn about
1135 unused function parameters if the build is not including one or more of
1136 the ACL/xattrs/iconv features.
1138 - The configure script now has better checks for figuring out if the
1139 included popt code should be used or not.
1141 - Fixed two testsuite glitches: avoid a failure if someone's "cd" command
1142 outputs the current directory when cd-ing to a relative path, and made
1143 the itemized test query how rsync was built to determine if it should
1144 expect hard-linked symlinks or not.
1146 - Updated the testsuite to verify that various bug fixes remain fixed.
1148 - The RPM spec file was updated to have: (1) comments for how to use the
1149 rsync-patch tar file, and (2) an /etc/xinetd.d/rsync file.
1151 - Updated the build scripts to work with a revised FTP directory
1155 NEWS for rsync 3.0.0 (1 Mar 2008)
1156 Protocol: 30 (changed)
1157 Changes since 2.6.9:
1159 NOTABLE CHANGES IN BEHAVIOR:
1161 - The handling of implied directories when using --relative has changed to
1162 send them as directories (e.g. no implied dir is ever sent as a symlink).
1163 This avoids unexpected behavior and should not adversely affect most
1164 people. If you're one of those rare individuals who relied upon having
1165 an implied dir be duplicated as a symlink, you should specify the
1166 transfer of the symlink and the transfer of the referent directory as
1167 separate args. (See also --keep-dirlinks and --no-implied-dirs.)
1168 Also, exclude rules no longer have a partial effect on implied dirs.
1170 - Requesting a remote file-listing without specifying -r (--recursive) now
1171 sends the -d (--dirs) option to the remote rsync rather than sending -r
1172 along with an extra exclude of /*/*. If the remote rsync does not
1173 understand the -d option (i.e. it is 2.6.3 or older), you will need to
1174 either turn off -d (--no-d), or specify -r --exclude='/*/*' manually.
1176 - In --dry-run mode, the last line of the verbose summary text is output
1177 with a "(DRY RUN)" suffix to help remind you that no updates were made.
1178 Similarly, --only-write-batch outputs "(BATCH ONLY)".
1180 - A writable rsync daemon with "use chroot" disabled now defaults to a
1181 symlink-munging behavior designed to make symlinks safer while also
1182 allowing absolute symlinks to be stored and retrieved. This also has
1183 the effect of making symlinks unusable while they're in the daemon's
1184 hierarchy. See the daemon's "munge symlinks" parameter for details.
1186 - Starting up an extra copy of an rsync daemon will not clobber the pidfile
1187 for the running daemon -- if the pidfile exists, the new daemon will exit
1188 with an error. This means that your wrapper script that starts the rsync
1189 daemon should be made to handle lock-breaking (if you want any automatic
1190 breaking of locks to be done).
1194 - A daemon with "use chroot = no" and excluded items listed in the daemon
1195 config file now properly checks an absolute-path arg specified for these
1196 options: --compare-dest, --link-dest, --copy-dest, --partial-dir,
1197 --backup-dir, --temp-dir, and --files-from.
1199 - A daemon can now be told to disable all user- and group-name translation
1200 on a per-module basis. This avoids a potential problem with a writable
1201 daemon module that has "use chroot" enabled -- if precautions weren't
1202 taken, a user could try to add a missing library and get rsync to use
1203 it. This makes rsync safer by default, and more configurable when id-
1204 translation is not desired. See the daemon's "numeric ids" parameter
1207 - A chroot daemon can now indicate which part of its path should affect the
1208 chroot call, and which part should become an inside-chroot path for the
1209 module. This allows you to have outside-the-transfer paths (such as for
1210 libraries) even when you enable chroot protection. The idiom used in the
1211 rsyncd.conf file is: path = /chroot/dirs/./dirs/inside
1213 - If a file's data arrived successfully on the receiving side but the
1214 rename of the temporary file to the destination file failed AND the
1215 --remove-source-files (or the deprecated --remove-sent-files) option
1216 was specified, rsync no longer erroneously removes the associated
1219 - Fixed the output of -ii when combined with one of the --*-dest options:
1220 it now itemizes all the items, not just the changed ones.
1222 - Made the output of all file types consistent when using a --*-dest
1223 option. Prior versions would output too many creation events for
1226 - The code that waits for a child pid now handles being interrupted by a
1227 signal. This fixes a problem with the pre-xfer exec function not being
1228 able to get the exit status from the script.
1230 - A negated filter rule (i.e. with a '!' modifier) no longer loses the
1231 negation when sending the filter rules to the remote rsync.
1233 - Fixed a problem with the --out-format (aka --log-format) option %f: it
1234 no longer outputs superfluous directory info for a non-daemon rsync.
1236 - Fixed a problem with -vv (double --verbose) and --stats when "pushing"
1237 files (which includes local copies). Version 2.6.9 would complete the
1238 copy, but exit with an error when the receiver output its memory stats.
1240 - If --password-file is used on a non-daemon transfer, rsync now complains
1241 and exits. This should help users figure out that they can't use this
1242 option to control a remote shell's password prompt.
1244 - Make sure that directory permissions of a newly-created destination
1245 directory are handled right when --perms is left off.
1247 - The itemized output of a newly-created destination directory is now
1248 output as a creation event, not a change event.
1250 - Improved --hard-link so that more corner cases are handled correctly
1251 when combined with options such as --link-dest and/or --ignore-existing.
1253 - The --append option no longer updates a file that has the same size.
1255 - Fixed a bug when combining --backup and --backup-dir with --inplace:
1256 any missing backup directories are now created.
1258 - Fixed a bug when using --backup and --inplace with --whole-file or
1259 --read-batch: backup files are actually created now.
1261 - The daemon pidfile is checked and created sooner in the startup sequence.
1263 - If a daemon module's "path" value is not an absolute pathname, the code
1264 now makes it absolute internally (making it work properly).
1266 - Ensure that a temporary file always has owner-write permission while we
1267 are writing to it. This avoids problems with some network filesystems
1268 when transferring read-only files.
1270 - Any errors output about password-file reading no longer cause an error at
1271 the end of the run about a partial transfer.
1273 - The --read-batch option for protocol 30 now ensures that several more
1274 options are set correctly for the current batch file: --iconv, --acls,
1275 --xattrs, --inplace, --append, and --append-verify.
1277 - Using --only-write-batch to a daemon receiver now works properly (older
1278 versions would update some files while writing the batch).
1280 - Avoid outputting a "file has vanished" message when the file is a broken
1281 symlink and --copy-unsafe-links or --copy-dirlinks is used (the code
1282 already handled this for --copy-links).
1284 - Fixed the combination of --only-write-batch and --dry-run.
1286 - Fixed rsync's ability to remove files that are not writable by the file's
1287 owner when rsync is running as the same user.
1289 - When transferring large files, the sender's hashtable of checksums is
1290 kept at a more reasonable state of fullness (no more than 80% full) so
1291 that the scanning of the hashtable will not bog down as the number of
1296 - A new incremental-recursion algorithm is now used when rsync is talking
1297 to another 3.x version. This starts the transfer going more quickly
1298 (before all the files have been found), and requires much less memory.
1299 See the --recursive option in the manpage for some restrictions.
1301 - Lowered memory use in the non-incremental-recursion algorithm for typical
1302 option values (usually saving from 21-29 bytes per file).
1304 - The default --delete algorithm is now --delete-during when talking to a
1305 3.x rsync. This is a faster scan than using --delete-before (which is
1306 the default when talking to older rsync versions), and is compatible with
1307 the new incremental recursion mode.
1309 - Rsync now allows multiple remote-source args to be specified rather than
1310 having to rely on a special space-splitting side-effect of the remote-
1311 shell. Additional remote args must specify the same host or an empty one
1312 (e.g. empty: :file1 or ::module/file2). For example, this means that
1313 local use of brace expansion now works: rsync -av host:dir/{f1,f2} .
1315 - Added the --protect-args (-s) option, that tells rsync to send most of
1316 the command-line args at the start of the transfer rather than as args
1317 to the remote-shell command. This protects them from space-splitting,
1318 and only interprets basic wildcard special shell characters (*?[).
1320 - Added the --delete-delay option, which is a more efficient way to delete
1321 files at the end of the transfer without needing a separate delete pass.
1323 - Added the --acls (-A) option to preserve Access Control Lists. This is
1324 an improved version of the prior patch that was available, and it even
1325 supports OS X ACLs. If you need to have backward compatibility with old,
1326 ACL-patched versions of rsync, apply the acls.diff file from the patches
1329 - Added the --xattrs (-X) option to preserve extended attributes. This is
1330 an improved version of the prior patch that was available, and it even
1331 supports OS X xattrs (which includes their resource fork data). If you
1332 need to have backward compatibility with old, xattr-patched versions of
1333 rsync, apply the xattrs.diff file from the patches dir.
1335 - Added the --fake-super option that allows a non-super user to preserve
1336 all attributes of a file by using a special extended-attribute idiom.
1337 It even supports the storing of foreign ACL data on your backup server.
1338 There is also an analogous "fake super" parameter for an rsync daemon.
1340 - Added the --iconv option, which allows rsync to convert filenames from
1341 one character-set to another during the transfer. The default is to
1342 make this feature available as long as your system has iconv_open().
1343 If compilation fails, specify --disable-iconv to configure, and then
1344 rebuild. If you want rsync to perform character-set conversions by
1345 default, you can specify --enable-iconv=CONVERT_STRING with the default
1346 value for the --iconv option that you wish to use. For example,
1347 "--enable-iconv=." is a good choice. See the rsync manpage for an
1348 explanation of the --iconv option's settings.
1350 - A new daemon config parameter, "charset", lets you control the character-
1351 set that is used during an --iconv transfer to/from a daemon module. You
1352 can also set your daemon to refuse "no-iconv" if you want to force the
1353 client to use an --iconv transfer (requiring an rsync 3.x client).
1355 - Added the --skip-compress=LIST option to override the default list of
1356 file suffixes that will not be compressed when using --compress (-z).
1358 - The daemon's default for "dont compress" was extended to include:
1359 *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg
1360 The name-matching routine was also optimized to run more quickly.
1362 - The --max-delete option now outputs a warning if it skipped any file
1363 deletions, including a count of how many deletions were skipped. (Older
1364 versions just silently stopped deleting things.)
1366 - You may specify --max-delete=0 to a 3.0.0 client to request that it warn
1367 about extraneous files without deleting anything. If you're not sure
1368 what version the client is, you can use the less-obvious --max-delete=-1,
1369 as both old and new versions will treat that as the same request (though
1370 older versions don't warn).
1372 - The --hard-link option now uses less memory on both the sending and
1373 receiving side for all protocol versions. For protocol 30, the use of a
1374 hashtable on the sending side allows us to more efficiently convey to the
1375 receiver what files are linked together. This reduces the amount of data
1376 sent over the socket by a considerable margin (rather than adding more
1377 data), and limits the in-memory storage of the device+inode information
1378 to just the sending side for the new protocol 30, or to the receiving
1379 side when speaking an older protocol (note that older rsync versions kept
1380 the device+inode information on both sides).
1382 - The filter rules now support a perishable ("p") modifier that marks rules
1383 that should not have an effect in a directory that is being deleted. e.g.
1384 -f '-p .svn/' would only affect "live" .svn directories.
1386 - Rsync checks all the alternate-destination args for validity (e.g.
1387 --link-dest). This lets the user know when they specified a directory
1388 that does not exist.
1390 - If we get an ENOSYS error setting the time on a symlink, we don't
1391 complain about it anymore (for those systems that even support the
1392 setting of the modify-time on a symlink).
1394 - Protocol 30 now uses MD5 checksums instead of MD4.
1396 - Changed the --append option to not checksum the existing data in the
1397 destination file, which speeds up file appending.
1399 - Added the --append-verify option, which works like the older --append
1400 option (verifying the existing data in the destination file). For
1401 compatibility with older rsync versions, any use of --append that is
1402 talking protocol 29 or older will revert to the --append-verify method.
1404 - Added the --contimeout=SECONDS option that lets the user specify a
1405 connection timeout for rsync daemon access.
1407 - Documented and extended the support for the RSYNC_CONNECT_PROG variable
1408 that can be used to enhance the client side of a daemon connection.
1410 - Improved the dashes and double-quotes in the nroff manpage output.
1412 - Rsync now supports a lot more --no-OPTION override options.
1416 - The file-list sorting algorithm now uses a sort that keeps any same-
1417 named items in the same order as they were specified. This allows
1418 rsync to always ensure that the first of the duplicates is the one
1419 that will be included in the copy. The new sort is also faster
1420 than the glibc version of qsort() and mergesort().
1422 - Rsync now supports the transfer of 64-bit timestamps (time_t values).
1424 - Made the file-deletion code use a little less stack when recursing
1425 through a directory hierarchy of extraneous files.
1427 - Fixed a build problem with older (2.x) versions of gcc.
1429 - Added some isType() functions that make dealing with signed characters
1430 easier without forcing variables via casts.
1432 - Changed strcat/strcpy/sprintf function calls to use safer versions.
1434 - Upgraded the included popt version to 1.10.2 and improved its use of
1435 string-handling functions.
1437 - Added missing prototypes for compatibility functions from the lib dir.
1439 - Configure determines if iconv() has a const arg, allowing us to avoid a
1442 - Made the sending of some numbers more efficient for protocol 30.
1444 - Make sure that a daemon process doesn't mind if the client was weird and
1445 omitted the --server option.
1447 - There are more internal logging categories available in protocol 30 than
1448 the age-old FINFO and FERROR, including FERROR_XFER and FWARN. These new
1449 categories allow some errors and warnings to go to stderr without causing
1450 an erroneous end-of-run warning about some files not being able to be
1453 - Improved the use of "const" on pointers.
1455 - Improved J.W.'s pool_alloc routines to add a way of incrementally freeing
1456 older sections of a pool's memory.
1458 - The getaddrinfo.c compatibility code in the "lib" dir was replaced with
1459 some new code (derived from samba, derived from PostgreSQL) that has a
1460 better license than the old code.
1464 - Rsync is now licensed under the GPLv3 or later.
1466 - Rsync is now being maintained in a "git" repository instead of CVS
1467 (though the old CVS repository still exists for historical access).
1468 Several maintenance scripts were updated to work with git.
1470 - Generated files are no longer committed into the source repository. The
1471 autoconf and autoheader commands are now automatically run during the
1472 normal use of "configure" and "make". The latest dev versions of all
1473 generated files can also be copied from the samba.org web site (see the
1474 prepare-source script's fetch option).
1476 - The "patches" directory of diff files is now built from branches in the
1477 rsync git repository (branch patch/FOO creates file patches/FOO.diff).
1478 This directory is now distributed in a separate separate tar file named
1479 rsync-patches-VERSION.tar.gz instead of the main rsync-VERSION.tar.gz.
1481 - The proto.h file is now built using a simple perl script rather than a
1482 complex awk script, which proved to be more widely compatible.
1484 - When running the tests, we now put our per-test temp dirs into a sub-
1485 directory named testtmp (which is created, if missing). This allows
1486 someone to symlink the testtmp directory to another filesystem (which is
1487 useful if the build dir's filesystem does not support ACLs and xattrs,
1488 but another filesystem does).
1490 - Rsync now has a way of handling protocol-version changes during the
1491 development of a new protocol version. This causes any out-of-sync
1492 versions to speak an older protocol rather than fail in a cryptic manner.
1493 This addition makes it safer to deploy a pre-release version that may
1494 interact with the public. This new exchange of sub-version info does not
1495 interfere with the {MIN,MAX}_PROTOCOL_VERSION checking algorithm (which
1496 does not have enough range to allow the main protocol number to be
1497 incremented for every minor tweak in that happens during development).
1499 - The csprotocol.txt file was updated to mention the daemon protocol change
1500 in the 3.0.0 release.
1503 NEWS for rsync 2.6.9 (6 Nov 2006)
1504 Protocol: 29 (unchanged)
1505 Changes since 2.6.8:
1509 - If rsync is interrupted via a handled signal (such as SIGINT), it will
1510 once again clean-up its temp file from the destination dir.
1512 - Fixed an overzealous sanitizing bug in the handling of the --link-dest,
1513 --copy-dest, and --compare-dest options to a daemon without chroot: if
1514 the copy's destination dir is deeper than the top of the module's path,
1515 these options now accept a safe number of parent-dir (../) references
1516 (since these options are relative to the destination dir). The old code
1517 incorrectly chopped off all "../" prefixes for these options, no matter
1518 how deep the destination directory was in the module's hierarchy.
1520 - Fixed a bug where a deferred info/error/log message could get sent
1521 directly to the sender instead of being handled by rwrite() in the
1522 generator. This fixes an "unexpected tag 3" fatal error, and should
1523 also fix a potential problem where a deferred info/error message from
1524 the receiver might bypass the log file and get sent only to the client
1525 process. (These problems could only affect an rsync daemon that was
1528 - Fixed a bug when --inplace was combined with a --*-dest option and we
1529 update a file's data using an alternate basis file. The code now
1530 notices that it needs to copy the matching data from the basis file
1531 instead of (wrongly) assuming that it was already present in the file.
1533 - Fixed a bug where using --dry-run with a --*-dest option with a path
1534 relative to a directory that does not yet exist: the affected option
1535 gets its proper path value so that the output of the dry-run is right.
1537 - Fixed a bug in the %f logfile escape when receiving files: the
1538 destination path is now included in the output (e.g. you can now tell
1539 when a user specifies a subdir inside a module).
1541 - If the receiving side fails to create a directory, it will now skip
1542 trying to update everything that is inside that directory.
1544 - If --link-dest is specified with --checksum but without --times, rsync
1545 will now allow a hard-link to be created to a matching link-dest file
1546 even when the file's modify-time doesn't match the server's file.
1548 - The daemon now calls more timezone-using functions prior to doing a
1549 chroot. This should help some C libraries to generate proper timestamps
1550 from inside a chrooted daemon (and to not try to access /etc/timezone
1551 over and over again).
1553 - Fixed a bug in the handling of an absolute --partial-dir=ABS_PATH option:
1554 it now deletes an alternate basis file from the partial-dir that was used
1555 to successfully update a destination file.
1557 - Fixed a bug in the handling of --delete-excluded when using a per-dir
1558 merge file: the merge file is now honored on the receiving side, and
1559 only its unqualified include/exclude commands are ignored (just as is
1560 done for global include/excludes).
1562 - Fixed a recent bug where --delete was not working when transferring from
1563 the root (/) of the filesystem with --relative enabled.
1565 - Fixed a recent bug where an --exclude='*' could affect the root (/) of
1566 the filesystem with --relative enabled.
1568 - When --inplace creates a file, it is now created with owner read/write
1569 permissions (0600) instead of no permissions at all. This avoids a
1570 problem continuing a transfer that was interrupted (since --inplace
1571 will not update a file that has no write permissions).
1573 - If either --remove-source-files or --remove-sent-files is enabled and we
1574 are unable to remove the source file, rsync now outputs an error.
1576 - Fixed a bug in the daemon's "incoming chmod" rule: newly-created
1577 directories no longer get the 'F' (file) rules applied to them.
1579 - Fixed an infinite loop bug when a filter rule was rejected due to being
1582 - When the server receives a --partial-dir option from the client, it no
1583 longer runs the client-side code that adds an assumed filter rule (since
1584 the client will be sending us the rules in the usual manner, and they
1585 may have chosen to override the auto-added rule).
1589 - Added the --log-file=FILE and --log-file-format=FORMAT options. These
1590 can be used to tell any rsync to output what it is doing to a log file.
1591 They work with a client rsync, a non-daemon server rsync (see the man
1592 page for instructions), and also allows the overriding of rsyncd.conf
1593 settings when starting a daemon.
1595 - The --log-format option was renamed to be --out-format to avoid confusing
1596 it with affecting the log-file output. (The old option remains as an
1597 alias for the new to preserve backward compatibility.)
1599 - Made "log file" and "syslog facility" settable on a per-module basis in
1600 the daemon's config file.
1602 - Added the --remove-source-files option as a replacement for the (now
1603 deprecated) --remove-sent-files option. This new option removes all
1604 non-dirs from the source directories, even if the file was already
1605 up-to-date. This fixes a problem where interrupting an rsync that
1606 was using --remove-sent-files and restarting it could leave behind
1607 a file that the earlier rsync synchronized, but didn't get to remove.
1608 (The deprecated --remove-sent-files is still understood for now, and
1609 still behaves in the same way as before.)
1611 - Added the option --no-motd to suppress the message-of-the-day output
1612 from a daemon when doing a copy. (See the manpage for a caveat.)
1614 - Added a new environment variable to the pre-/post-xfer exec commands (in
1615 the daemon's config file): RSYNC_PID. This value will be the same in
1616 both the pre- and post-xfer commands, so it can be used as a unique ID
1617 if the pre-xfer command wants to cache some arg/request info for the
1622 - Did a code audit using IBM's code-checker program and made several
1623 changes, including: replacing most of the strcpy() and sprintf()
1624 calls with strlcpy(), snprintf(), and memcpy(), adding a 0-value to
1625 an enum that had been intermingling a literal 0 with the defined enum
1626 values, silencing some uninitialized memory checks, marking some
1627 functions with a "noreturn" attribute, and changing an "if" that
1628 could never succeed on some platforms into a pre-processor directive
1629 that conditionally compiles the code.
1631 - Fixed a potential bug in f_name_cmp() when both the args are a
1632 top-level "." dir (which doesn't happen in normal operations).
1634 - Changed exit_cleanup() so that it can never return instead of exit.
1635 The old code might return if it found the exit_cleanup() function
1636 was being called recursively. The new code is segmented so that
1637 any recursive calls move on to the next step of the exit-processing.
1639 - The macro WIFEXITED(stat) will now be defined if the OS didn't already
1644 - The acls.diff and xattrs.diff patches have received a bunch of work to
1645 make them much closer to being acceptable in the main distribution.
1646 The xattrs patch also has some preliminary Mac OS X and FreeBSD
1647 compatibility code that various system types to exchange extended
1650 - A new diff in the patches dir, fake-root.diff, allows rsync to
1651 maintain a backup hierarchy with full owner, group, and device info
1652 without actually running as root. It does this using a special
1653 extended attribute, so it depends on xattrs.diff (which depends on
1656 - The rsync.yo and rsyncd.conf.yo files have been updated to work
1657 better with the latest yodl 2.x releases.
1659 - Updated config.guess and config.sub to their 2006-07-02 versions.
1661 - Updated various files to include the latest FSF address and to have
1662 consistent opening comments.
1665 NEWS for rsync 2.6.8 (22 Apr 2006)
1666 Protocol: 29 (unchanged)
1667 Changes since 2.6.7:
1671 - Fixed a bug in the exclude code where an anchored exclude without any
1672 wildcards fails to match an absolute source arg, but only when --relative
1675 - Improved the I/O code for the generator to fix a potential hang when the
1676 receiver gets an EOF on the socket but the generator's select() call
1677 never indicates that the socket is writable for it to be notified about
1678 the EOF. (This can happen when using stunnel).
1680 - Fixed a problem with the file-reading code where a failed read (such as
1681 that caused by a bad sector) would not advance the file's read-position
1682 beyond the failed read's data.
1684 - Fixed a logging bug where the "log file" directive was not being honored
1685 in a single-use daemon (one spawned by a remote-shell connection or by
1688 - If rsync cannot honor the --delete option, we output an error and exit
1689 instead of silently ignoring the option.
1691 - Fixed a bug in the --link-dest code that prevented special files (such as
1692 fifos) from being linked.
1694 - The ability to hard-link symlinks and special files is now determined at
1695 configure time instead of at runtime. This fixes a bug with --link-dest
1696 creating a hard-link to a symlink's referent on a BSD system.
1700 - In daemon mode, if rsync fails to bind to the requested port, the
1701 error(s) returned by socket() and/or bind() are now logged.
1703 - When we output a fatal error, we now output the version of rsync in the
1706 - Improved the documentation for the --owner and --group options.
1708 - The rsyncstats script in "support" has an improved line-parsing regex
1709 that is easier to read and also makes it to parse syslog-generated lines.
1711 - A new script in "support": file-attr-restore, can be used to restore the
1712 attributes of a file-set (the permissions, ownership, and group info)
1713 taken from the cached output of a "find ARG... -ls" command.
1717 - Removed the unused function write_int_named(), the unused variable
1718 io_read_phase, and the rarely used variable io_write_phase. This also
1719 elides the confusing 'phase "unknown"' part of one error message.
1721 - Removed two unused configure checks and two related (also unused)
1722 compatibility functions.
1724 - The xattrs.diff patch received a security fix that prevents a potential
1725 buffer overflow in the receive_xattr() code.
1727 - The acls.diff patch has been improved quite a bit, with more to come.
1729 - A new patch was added: log-file.diff. This contains an early version of
1730 a future option, --log-file=FILE, that will allow any rsync to log its
1731 actions to a file (something that only a daemon supports at present).
1734 NEWS for rsync 2.6.7 (11 Mar 2006)
1735 Protocol: 29 (unchanged)
1736 Changes since 2.6.6:
1740 - The letter 'D' in the itemized output was being used for both devices
1741 (character or block) as well as other special files (such as fifos and
1742 named sockets). This has changed to separate non-device special files
1743 under the 'S' designation (e.g. "cS+++++++ path/fifo"). See also the
1744 "--specials" option, below.
1746 - The way rsync escapes unreadable characters has changed. First, rsync
1747 now has support for recognizing valid multibyte character sequences in
1748 your current locale, allowing it to escape fewer characters than before
1749 for a locale such as UTF-8. Second, it now uses an escape idiom of
1750 "\#123", which is the literal string "\#" followed by exactly 3 octal
1751 digits. Rsync no longer doubles a backslash character in a filename
1752 (e.g. it used to output "foo\\bar" when copying "foo\bar") -- now it only
1753 escapes a backslash that is followed by a hash-sign and 3 digits (0-9)
1754 (e.g. it will output "foo\#134#789" when copying "foo\#789"). See also
1755 the --8-bit-output (-8) option, mentioned below.
1757 Script writers: the local rsync is the one that outputs escaped names,
1758 so if you need to support unescaping of filenames for older rsyncs, I'd
1759 suggest that you parse the output of "rsync --version" and only use the
1760 old unescaping rules for 2.6.5 and 2.6.6.
1764 - Fixed a really old bug that caused --checksum (-c) to checksum all the
1765 files encountered during the delete scan (ouch).
1767 - Fixed a potential hang in a remote generator: when the receiver gets a
1768 read-error on the socket, it now signals the generator about this so that
1769 the generator does not try to send any of the terminating error messages
1770 to the client (avoiding a potential hang in some setups).
1772 - Made hard-links work with symlinks and devices again.
1774 - If the sender gets an early EOF reading a source file, we propagate this
1775 error to the receiver so that it can discard the file and try requesting
1776 it again (which is the existing behavior for other kinds of read errors).
1778 - If a device-file/special-file changes permissions, rsync now updates the
1779 permissions without recreating the file.
1781 - If the user specifies a remote-host for both the source and destination,
1782 we now output a syntax error rather than trying to open the destination
1783 hostspec as a filename.
1785 - When --inplace creates a new destination file, rsync now creates it with
1786 permissions 0600 instead of 0000 -- this makes restarting possible when
1787 the transfer gets interrupted in the middle of sending a new file.
1789 - Reject the combination of --inplace and --sparse since the sparse-output
1790 algorithm doesn't work when overwriting existing data.
1792 - Fixed the directory name in the error that is output when pop_dir()
1795 - Really fixed the parsing of a "!" entry in .cvsignore files this time.
1797 - If the generator gets a stat() error on a file, output it (this used to
1798 require at least -vv for the error to be seen).
1800 - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
1801 the exit status properly and generate a better error.
1803 - Fixed some glitches in the double-verbose output when using --copy-dest,
1804 --link-dest, or --compare-dest. Also improved how the verbose output
1805 handles hard-links (within the transfer) that had an up-to-date alternate
1806 "dest" file, and copied files (via --copy-dest).
1808 - Fixed the matching of the dont-compress items (e.g. *.gz) against files
1809 that have a path component containing a slash.
1811 - If the code reading a filter/exclude file gets an EINTR error, rsync now
1812 clears the error flag on the file handle so it can keep on reading.
1814 - If --relative is active, the sending side cleans up trailing "/" or "/."
1815 suffixes to avoid triggering a bug in older rsync versions. Also, we now
1816 reject a ".." dir if it would be sent as a relative dir.
1818 - If a non-directory is in the way of a directory and rsync is run with
1819 --dry-run and --delete, rsync no longer complains about not being able
1820 to opendir() the not-yet present directory.
1822 - When --list-only is used and a non-existent local destination dir was
1823 also specified as a destination, rsync no longer generates a warning
1824 about being unable to create the missing directory.
1826 - Fixed some problems with --relative --no-implied-dirs when the
1827 destination directory did not yet exist: we can now create a symlink or
1828 device when it is the first thing in the missing dir, and --fuzzy no
1829 longer complains about being unable to open the missing dir.
1831 - Fixed a bug where the --copy-links option would not affect implied
1832 directories without --copy-unsafe-links (see --relative).
1834 - Got rid of the need for --force to be used in some circumstances with
1835 --delete-after (making it consistent with --delete-before/-during).
1837 - Rsync now ignores the SIGXFSZ signal, just in case your OS sends this
1838 when a file is too large (rsync handles the write error).
1840 - Fixed a bug in the Proxy-Authorization header's base64-encoded value: it
1841 was not properly padded with trailing '=' chars. This only affects a
1842 user that need to use a password-authenticated proxy for an outgoing
1843 daemon-rsync connection.
1845 - If we're transferring an empty directory to a new name, rsync no longer
1846 forces S_IWUSR if it wasn't already set, nor does it accidentally leave
1849 - Fixed a bug in the debug output (-vvvvv) that could mention the wrong
1850 checksum for the current file offset.
1852 - Rsync no longer allows a single directory to be copied over a non-
1853 directory destination arg.
1857 - Added the --append option that makes rsync append data onto files that
1858 are longer on the source than the destination (this includes new files).
1860 - Added the --min-size=SIZE option to exclude small files from the
1863 - Added the --compress-level option to allow you to set how aggressive
1864 rsync's compression should be (this option implies --compress).
1866 - Enhanced the parsing of the SIZE value for --min-size and --max-size to
1867 allow easy entry of multiples of 1000 (instead of just multiples of 1024)
1868 and off-by-one values too (e.g. --max-size=8mb-1).
1870 - Added the --8-bit-output (-8) option, which tells rsync to avoid escaping
1871 high-bit characters that it thinks are unreadable in the current locale.
1873 - The new option --human-readable (-h) changes the output of --progress,
1874 --stats, and the end-of-run summary to be easier to read. If repeated,
1875 the units become powers of 1024 instead of powers of 1000. (The old
1876 meaning of -h, as a shorthand for --help, still works as long as you
1877 just use it on its own, as in "rsync -h".)
1879 - If lutimes() and/or lchmod() are around, use them to allow the
1880 preservation of attributes on symlinks.
1882 - The --link-dest option now affects symlinks and devices (when possible).
1884 - Added two config items to the rsyncd.conf parsing: "pre-xfer exec" and
1885 "post-xfer exec". These allow a command to be specified on a per-module
1886 basis that will be run before and/or after a daemon-mode transfer. (See
1887 the man page for a list of the environment variables that are set with
1888 information about the transfer.)
1890 - When using the --relative option, you can now insert a dot dir in
1891 the source path to indicate where the replication of the source dirs
1892 should start. For example, if you specify a source path of
1893 rsync://host/module/foo/bar/./baz/dir with -R, rsync will now only
1894 replicate the "baz/dir" part of the source path (note: a trailing
1895 dot dir is unaffected unless it also has a trailing slash).
1897 - Added some new --no-FOO options that make it easier to override unwanted
1898 implied or default options. For example, "-a --no-o" (aka "--archive
1899 --no-owner") can be used to turn off the preservation of file ownership
1900 that is implied by -a.
1902 - Added the --chmod=MODE option that allows the destination permissions to
1903 be changed from the source permissions. E.g. --chmod=g+w,o-rwx
1905 - Added the "incoming chmod" and "outgoing chmod" daemon options that allow
1906 a module to specify what permissions changes should be applied to all
1907 files copied to and from the daemon.
1909 - Allow the --temp-dir option to be specified when starting a daemon, which
1910 sets the default temporary directory for incoming files.
1912 - If --delete is combined with --dirs without --recursive, rsync will now
1913 delete in any directory whose content is being synchronized.
1915 - If --backup is combined with --delete without --backup-dir (and without
1916 --delete-excluded), we add a "protect" filter-rule to ensure that files
1917 with the backup suffix are not deleted.
1919 - The file-count stats that are output by --progress were improved to
1920 better indicate what the numbers mean. For instance, the output:
1921 "(xfer#5, to-check=8383/9999)" indicates that this was the fifth file
1922 to be transferred, and we still need to check 8383 more files out of
1925 - The include/exclude code now allows a dir/*** directive (with 3 trailing
1926 stars) to match both the dir itself as well as all the content below the
1927 dir (dir/** would not match the dir).
1929 - Added the --prune-empty-dirs (-m) option that makes the receiving rsync
1930 discard empty chains of directories from the file-list. This makes it
1931 easier to selectively copy files from a source hierarchy and end up with
1932 just the directories needed to hold the resulting files.
1934 - If the --itemize-changes (-i) option is repeated, rsync now includes
1935 unchanged files in the itemized output (similar to -vv, but without all
1936 the other verbose messages that can get in the way). Of course, the
1937 client must be version 2.6.7 for this to work, but the remote rsync only
1938 needs to be 2.6.7 if you're pushing files.
1940 - Added the --specials option to tell rsync to copy non-device special
1941 files (which rsync now attempts even as a normal user). The --devices
1942 option now requests the copying of just devices (character and block).
1943 The -D option still requests both (e.g. --devices and --specials), -a
1944 still implies -D, and non-root users still get a silent downgrade that
1945 omits device copying.
1947 - Added the --super option to make the receiver always attempt super-user
1948 activities. This is useful for systems that allow things such as devices
1949 to be created or ownership to be set without being UID 0, and is also
1950 useful for someone who wants to ensure that errors will be output if the
1951 receiving rsync isn't being run as root.
1953 - Added the --sockopts option for those few who want to customize the TCP
1954 options used to contact a daemon rsync.
1956 - Added a way for the --temp-dir option to be combined with a partial-dir
1957 setting that lets rsync avoid non-atomic updates (for those times when
1958 --temp-dir is not being used because space is tight).
1960 - A new support script, files-to-excludes, will transform a list of files
1961 into a set of include/exclude directives that will copy those files.
1963 - A new option, --executability (-E) can be used to preserve just the
1964 execute bit on files, for those times when using the --perms option is
1967 - The daemon now logs each connection and also each module-list request
1970 - New log-format options: %M (modtime), %U (uid), %G (gid), and %B
1971 (permission bits, e.g. "rwxr-xrwt").
1973 - The --dry-run option no longer forces the enabling of --verbose.
1975 - The --remove-sent-files option now does a better job of incrementally
1976 removing the sent files on the sending side (older versions tended to
1977 clump up all the removals at the end).
1979 - A daemon now supersedes its minimal SIGCHLD handler with the standard
1980 PID-remembering version after forking. This ensures that the generator
1981 can get the child-exit status from the receiver.
1983 - Use of the --bwlimit option no longer interferes with the remote rsync
1984 sending error messages about invalid/refused options.
1986 - Rsync no longer returns a usage error when used with one local source arg
1987 and no destination: this now implies the --list-only option, just like
1988 the comparable situation with a remote source arg.
1990 - Added the --copy-dirlinks option, a more limited version of --copy-links.
1992 - Various documentation improvements, including: a better synopsis, some
1993 improved examples, a better discussion of the presence and absence of
1994 --perms (including how it interacts with the new --executability and
1995 --chmod options), an extended discussion of --temp-dir, an improved
1996 discussion of --partial-dir, a better description of rsync's pattern
1997 matching characters, an improved --no-implied-dirs section, and the
1998 documenting of what the --stats option outputs.
2000 - Various new and updated diffs in the patches dir, including: acls.diff,
2001 xattrs.diff, atimes.diff, detect-renamed.diff, and slp.diff.
2005 - We now use sigaction() and sigprocmask() if possible, and fall back on
2006 signal() if not. Using sigprocmask() ensures that rsync enables all the
2007 signals that it needs, just in case it was started in a masked state.
2009 - Some buffer sizes were expanded a bit, particularly on systems where
2010 MAXPATHLEN is overly small (e.g. cygwin).
2012 - If io_printf() tries to format more data than fits in the buffer, exit
2013 with an error instead of transmitting a truncated buffer.
2015 - If a va_copy macro is defined, lib/snprintf.c will use it when defining
2018 - Reduced the amount of stack memory needed for each level of directory
2019 recursion by nearly MAXPATHLEN bytes.
2021 - The wildmatch function was extended to allow an array of strings to be
2022 supplied as the string to match. This allows the exclude code to do less
2025 - Got rid of the safe_fname() function (and all the myriad calls) and
2026 replaced it with a new function in the log.c code that filters all the
2027 output going to the terminal.
2029 - Unified the f_name() and the f_name_to() functions.
2031 - Improved the hash-table code the sender uses to handle checksums to make
2032 it use slightly less memory and run just a little faster.
2036 - The diffs in the patches dir now require "patch -p1 <DIFF" instead of
2037 the previous -p0. Also, the version included in the release tar now
2038 affect generated files (e.g. configure, rsync.1, proto.h, etc.), so
2039 it is no longer necessary to run autoconf and/or yodl unless you're
2040 applying a patch that was checked out from CVS.
2042 - Several diffs in the patches dir now use the proper --enable-FOO
2043 configure option instead of --with-FOO to turn on the inclusion of
2044 the newly patched feature.
2046 - There is a new script, "prepare-source" than can be used to update the
2047 various generated files (proto.h, configure, etc.) even before configure
2048 has created the Makefile (this is mainly useful when patching the source
2049 with a patch that doesn't affect generated files).
2051 - The testsuite now sets HOME so that it won't be affected by a file such
2055 NEWS for rsync 2.6.6 (28 Jul 2005)
2056 Protocol: 29 (unchanged)
2057 Changes since 2.6.5:
2061 - The zlib code was upgraded to version 1.2.3 in order to make it more
2062 secure. While the widely-publicized security problem in zlib 1.2.2 did
2063 not affect rsync, another security problem surfaced that affects rsync's
2068 - The setting of flist->high in clean_flist() was wrong for an empty list.
2069 This could cause flist_find() to crash in certain rare circumstances
2070 (e.g. if just the right directory setup was around when --fuzzy was
2071 combined with --link-dest).
2073 - The outputting of hard-linked files when verbosity was > 1 was not right:
2074 (1) Without -i it would output the name of each hard-linked file as
2075 though it had been changed; it now outputs a "is hard linked" message for
2076 the file. (2) With -i it would output all dots for the unchanged
2077 attributes of a hard-link; it now changes those dots to spaces, as is
2078 done for other totally unchanged items.
2080 - When backing up a changed symlink or device, get rid of any old backup
2081 item so that we don't get an "already exists" error.
2083 - A couple places that were comparing a local and a remote modification-
2084 time were not honoring the --modify-window option.
2086 - Fixed a bug where the 'p' (permissions) itemized-changes flag might get
2087 set too often (if some non-significant mode bits differed).
2089 - Fixed a really old, minor bug that could cause rsync to warn about being
2090 unable to mkdir() a path that ends in "/." because it just created the
2091 directory (required --relative, --no-implied-dirs, a source path that
2092 ended in either a trailing slash or a trailing "/.", and a non-existing
2093 destination dir to tickle the bug in a recent version).
2097 - Made the "max verbosity" setting in the rsyncd.conf file settable on a
2098 per-module basis (which now matches the documentation).
2100 - The support/rrsync script has been upgraded to verify the args of options
2101 that take args (instead of rejecting any such options). The script was
2102 also changed to try to be more secure and to fix a problem in the parsing
2103 of a pull operation that has multiple sources.
2105 - Improved the documentation that explains the difference between a
2106 normal daemon transfer and a daemon-over remote-shell transfer.
2108 - Some of the diffs supplied in the patches dir were fixed and/or
2113 - Made configure define NOBODY_USER (currently hard-wired to "nobody") and
2114 NOBODY_GROUP (set to either "nobody" or "nogroup" depending on what we
2115 find in the /etc/group file).
2117 - Added a test to the test suite, itemized.test, that tests the output of
2118 -i (log-format w/%i) and some double-verbose messages.
2121 NEWS for rsync 2.6.5 (1 Jun 2005)
2122 Protocol: 29 (unchanged)
2123 Changes since 2.6.4:
2127 - Non-printable chars in filenames are now output using backslash-
2128 escaped characters rather than '?'s. Any non-printable character is
2129 output using 3 digits of octal (e.g. "\n" -> "\012"), and a backslash
2130 is now output as "\\". Rsync also uses your locale setting, which
2131 can make it treat fewer high-bit characters as non-printable.
2133 - If rsync received an empty file-list when pulling files, it would
2134 output a "nothing to do" message and exit with a 0 (success) exit
2135 status, even if the remote rsync returned an error (it did not do
2136 this under the same conditions when pushing files). This was changed
2137 to make the pulling behavior the same as the pushing behavior: we
2138 now do the normal end-of-run outputting (depending on options) and
2139 exit with the appropriate exit status.
2143 - A crash bug was fixed when a daemon had its "path" set to "/", did
2144 not have chroot enabled, and used some anchored excludes in the
2147 - Fixed a bug in the transfer of a single file when -H is specified
2148 (rsync would either infinite loop or perhaps crash).
2150 - Fixed a case where the generator might try (and fail) to tweak the
2151 write-permissions of a read-only directory in list-only mode (this
2152 only caused an annoying warning message).
2154 - If --compare-dest or --link-dest uses a locally-copied file as the
2155 basis for an updated version, log this better when --verbose or -i
2158 - Fixed the accidental disabling of --backup during the --delete-after
2161 - Restored the ability to use the --address option in client mode (in
2162 addition to its use in daemon mode).
2164 - Make sure that some temporary progress information from the delete
2165 processing does not get left on the screen when it is followed by a
2168 - When --existing skips a directory with extra verbosity, refer to it
2169 as a "directory", not a "file".
2171 - When transferring a single file to a different-named file, any
2172 generator messages that are source-file related no longer refer to
2173 the file by the destination filename.
2175 - Fixed a bug where hard-linking a group of files might fail if the
2176 generator hasn't created a needed destination directory yet.
2178 - Fixed a bug where a hard-linked group of files that is newly-linked
2179 to a file in a --link-dest dir doesn't link the files from the rest
2182 - When deleting files with the --one-file-system (-x) option set, rsync
2183 no longer tries to remove files from inside a mount-point on the
2184 receiving side. Also, we don't complain about being unable to remove
2185 the mount-point dir.
2187 - Fixed a compatibility problem when using --cvs-ignore (-C) and
2188 sending files to an older rsync without using --delete.
2190 - Make sure that a "- !" or "+ !" include/exclude pattern does not
2191 trigger the list-clearing action that is reserved for "!".
2193 - Avoid a timeout in the generator when the sender/receiver aren't
2194 handling the generator's checksum output quickly enough.
2196 - Fixed the omission of some directories in the delete processing when
2197 --relative (-R) was combined with a source path that had a trailing
2200 - Fixed a case where rsync would erroneously delete some files and then
2201 re-transfer them when the options --relative (-R) and --recursive
2202 (-r) were both enabled (along with --delete) and a source path had a
2205 - Make sure that --max-size doesn't affect a device or a symlink.
2207 - Make sure that a system with a really small MAXPATHLEN does not cause
2208 the buffers in readfd_unbuffered() to be too small to receive normal
2209 messages. (This mainly affected Cygwin.)
2211 - If a source pathname ends with a filename of "..", treat it as if
2212 "../" had been specified (so that we don't copy files to the parent
2213 dir of the destination).
2215 - If --delete is combined with a file-listing rsync command (i.e. no
2216 transfer is happening), avoid outputting a warning that we couldn't
2219 - If --stats is specified with --delete-after, ensure that all the
2220 "deleting" messages are output before the statistics.
2222 - Improved one "if" in the deletion code that was only checking errno
2223 for ENOTEMPTY when it should have also been checking for EEXIST (for
2224 compatibility with OS variations).
2228 - Added the --only-write-batch=FILE option that may be used (instead
2229 of --write-batch=FILE) to create a batch file without doing any
2230 actual updating of the destination. This allows you to divert all
2231 the file-updating data away from a slow data link (as long as you
2232 are pushing the data to the remote server when creating the batch).
2234 - When the generator is taking a long time to fill up its output buffer
2235 (e.g. if the transferred files are few, small, or missing), it now
2236 periodically flushes the output buffer so that the sender/receiver
2237 can get started on the files sooner rather than later.
2239 - Improved the keep-alive code to handle a long silence between the
2240 sender and the receiver that can occur when the sender is receiving
2241 the checksum data for a large file.
2243 - Improved the auth-errors that are logged by the daemon to include
2244 some information on why the authorization failed: wrong user,
2245 password mismatch, etc. (The client-visible message is unchanged!)
2247 - Improved the client's handling of an "@ERROR" from a daemon so that
2248 it does not complain about an unexpectedly closed socket (since we
2249 really did expect the socket to close).
2251 - If the daemon can't open the log-file specified in rsyncd.conf, fall
2252 back to using syslog and log an appropriate warning. This is better
2253 than what was typically a totally silent (and fatal) failure (since a
2254 daemon is not usually run with the --no-detach option that was
2255 necessary to see the error on stderr).
2257 - The man pages now consistently refer to an rsync daemon as a "daemon"
2258 instead of a "server" (to distinguish it from the server process in a
2259 non-daemon transfer).
2261 - Made a small change to the rrsync script (restricted rsync -- in the
2262 support dir) to make a read-only server reject all --remove-* options
2263 when sending files (to future-proof it against the possibility of
2264 other similar options being added at some point).
2268 - Rsync now calls setlocale(LC_CTYPE, ""). This enables isprint() to
2269 better discern which filename characters need to be escaped in
2270 messages (which should result in fewer escaped characters in some
2273 - Improved the naming of the log-file open/reopen/close functions.
2275 - Removed some protocol-compatibility code that was only needed to help
2276 someone running a pre-release of 2.6.4.
2280 - Added configure option "--disable-locale" to disable any use of
2281 setlocale() in the binary.
2283 - Fixed a bug in the SUPPORT{,_HARD}_LINKS #defines which prevented
2284 rsync from being built without symlink or hard-link support.
2286 - Only #define HAVE_REMSH if it is going to be set to 1.
2288 - Configure now disables the use of mkstemp() under HP-UX (since they
2289 refuse to fix its broken handling of large files).
2291 - Configure now explicitly checks for the lseek64() function so that
2292 the code can use HAVE_LSEEK64 instead of inferring lseek64()'s
2293 presence based on the presence of the off64_t type.
2295 - Configure no longer mentions the change in the default remote-shell
2296 (from rsh to ssh) that occurred for the 2.6.0 release.
2298 - Some minor enhancements to the test scripts.
2300 - Added a few new *.diff files to the patches dir, including a patch
2301 that enables the optional copying of extended attributes.
2304 NEWS for rsync 2.6.4 (30 March 2005)
2305 Protocol: 29 (changed)
2306 Changes since 2.6.3:
2310 - When rsync deletes a directory and outputs a verbose message about
2311 it, it now appends a trailing slash to the name instead of (only
2312 sometimes) outputting a preceding "directory " string.
2314 - The --stats output will contain file-list time-statistics if both
2315 sides are 2.6.4, or if the local side is 2.6.4 and the files are
2316 being pushed (since the stats come from the sending side).
2317 (Requires protocol 29 for a pull.)
2319 - The "%o" (operation) log-format escape now has a third value (besides
2320 "send" and "recv"): "del." (with trailing dot to make it 4 chars).
2321 This changes the way deletions are logged in the daemon's log file.
2323 - When the --log-format option is combined with --verbose, rsync now
2324 avoids outputting the name of the file twice in most circumstances.
2325 As long as the --log-format item does not refer to any post-transfer
2326 items (such as %b or %c), the --log-format message is output prior to
2327 the transfer, so --verbose is now the equivalent of a --log-format of
2328 '%n%L' (which outputs the name and any link info). If the log output
2329 must occur after the transfer to be complete, the only time the name
2330 is also output prior to the transfer is when --progress was specified
2331 (so that the name will precede the progress stats, and the full
2332 --log-format output will come after).
2334 - Non-printable characters in filenames are replaced with a '?' to
2335 avoid corrupting the screen or generating empty lines in the output.
2339 - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
2340 was only treating it as a special token in an rsync include/exclude
2343 - The combination of --verbose and --dry-run now mentions the full list
2344 of changes that would be output without --dry-run.
2346 - Avoid a mkdir warning when removing a directory in the destination
2347 that already exists in the --backup-dir.
2349 - An OS that has a binary mode for its files (such as cygwin) needed
2350 setmode(fd, O_BINARY) called on the temp-file we opened with
2351 mkstemp(). (Fix derived from cygwin's 2.6.3 rsync package.)
2353 - Fixed a potential hang when verbosity is high, the client side is
2354 the sender, and the file-list is large.
2356 - Fixed a potential protocol-corrupting bug where the generator could
2357 merge a message from the receiver into the middle of a multiplexed
2358 packet of data if only part of that data had been written out to the
2359 socket when the message from the generator arrived.
2361 - We now check if the OS doesn't support using mknod() for creating
2362 FIFOs and sockets, and compile-in some compatibility code using
2363 mkfifo() and socket() when necessary.
2365 - Fixed an off-by-one error in the handling of --max-delete=N. Also,
2366 if the --max-delete limit is exceeded during a run, we now output a
2367 warning about this at the end of the run and exit with a new error
2370 - One place in the code wasn't checking if fork() failed.
2372 - The "ignore nonreadable" daemon parameter used to erroneously affect
2373 readable symlinks that pointed to a non-existent file.
2375 - If the OS does not have lchown() and a chown() of a symlink will
2376 affect the referent of a symlink (as it should), we no longer try
2377 to set the user and group of a symlink.
2379 - The generator now properly runs the hard-link loop and the dir-time
2380 rewriting loop after we're sure that the redo phase is complete.
2382 - When --backup was specified with --partial-dir=DIR, where DIR is a
2383 relative path, the backup code was erroneously trying to backup a
2384 file that was put into the partial-dir.
2386 - If a file gets resent in a single transfer and the --backup option is
2387 enabled along with --inplace, rsync no longer performs a duplicate
2388 backup (it used to overwrite the first backup with the failed file).
2390 - One call to flush_write_file() was not being checked for an error.
2392 - The --no-relative option was not being sent from the client to a
2395 - If an rsync daemon specified "dont compress = ..." for a file and the
2396 client tried to specify --compress, the libz code was not handling a
2397 compression level of 0 properly. This could cause a transfer failure
2398 if the block-size for a file was large enough (e.g. rsync might have
2399 exited with an error for large files).
2401 - Fixed a bug that would sometimes surface when using --compress and
2402 sending a file with a block-size larger than 64K (either manually
2403 specified, or computed due to the file being really large). Prior
2404 versions of rsync would sometimes fail to decompress the data
2405 properly, and thus the transferred file would fail its verification.
2407 - If a daemon can't open the specified log file (i.e. syslog is not
2408 being used), die without crashing. We also output an error about
2409 the failure on stderr (which will only be seen if --no-detach was
2410 specified) and exit with a new error code (6).
2412 - A local transfer no longer duplicates all its include/exclude options
2413 (since the forked process already has a copy of the exclude list,
2414 there's no need to send them a set of duplicates).
2416 - The output of the items that are being updated by the generator (dirs,
2417 symlinks, devices) is now intermingled in the proper order with the
2418 output from the items that the receiver is updating (regular files)
2419 when pulling. This misordering was particularly bad when --progress
2420 was specified. (Requires protocol 29.)
2422 - When --timeout is specified, lulls that occur in the transfer while
2423 the generator is doing work that does not generate socket traffic
2424 (looking for changed files, deleting files, doing directory-time
2425 touch-ups, etc.) will cause a new keep-alive packet to be sent that
2426 should keep the transfer going as long as the generator continues to
2427 make progress. (Requires protocol 29.)
2429 - The stat size of a device is not added to the total file size of the
2430 items in the transfer (the size might be undefined on some OSes).
2432 - Fixed a problem with refused-option messages sometimes not making it
2433 back to the client side when a remote --files-from was in effect and
2434 the daemon was the receiver.
2436 - The --compare-dest option was not updating a file that differed in
2437 (the preserved) attributes from the version in the compare-dest DIR.
2439 - When rsync is copying files into a write-protected directory, fixed
2440 the change-report output for the directory so that we don't report
2441 an identical directory as changed.
2445 - Rsync now supports popt's option aliases, which means that you can
2446 use /etc/popt and/or ~/.popt to create your own option aliases.
2448 - Added the --delete-during (--del) option which will delete files
2449 from the receiving side incrementally as each directory in the
2450 transfer is being processed. This makes it more efficient than the
2451 default, before-the-transfer behavior, which is now also available as
2452 --delete-before (and is still the default --delete-WHEN option that
2453 will be chosen if --delete or --delete-excluded is specified without
2454 a --delete-WHEN choice). All the --del* options infer --delete, so
2455 an rsync daemon that refuses "delete" will still refuse to allow any
2456 file-deleting options (including the new --remove-sent-files option).
2458 - All the --delete-WHEN options are now more memory efficient:
2459 Previously an duplicate set of file-list objects was created on the
2460 receiving side for the entire destination hierarchy. The new
2461 algorithm only creates one directory of objects at a time (for files
2462 inside the transfer).
2464 - Added the --copy-dest option, which works like --link-dest except
2465 that it locally copies identical files instead of hard-linking them.
2467 - Added support for specifying multiple --compare-dest, --copy-dest, or
2468 --link-dest options, but only of a single type. (Promoted from the
2469 patches dir and enhanced.) (Requires protocol 29.)
2471 - Added the --max-size option. (Promoted from the patches dir.)
2473 - The daemon-mode options are now separated from the normal rsync
2474 options so that they can't be mixed together. This makes it
2475 impossible to start a daemon that has improper default option values
2476 (which could cause problems when a client connects, such as hanging
2479 - The --bwlimit option may now be used in combination with --daemon
2480 to specify both a default value for the daemon side and a value
2481 that cannot be exceeded by a user-specified --bwlimit option.
2483 - Added the "port" parameter to the rsyncd.conf file. (Promoted from
2484 the patches dir.) Also added "address". The command-line options
2485 take precedence over a config-file option, as expected.
2487 - In _exit_cleanup(): when we are exiting with a partially-received
2488 file, we now flush any data in the write-cache before closing the
2491 - The --inplace support was enhanced to work with --compare-dest,
2492 --link-dest, and (the new) --copy-dest options. (Requires protocol
2495 - Added the --dirs (-d) option for an easier way to copy directories
2496 without recursion. Any directories that are encountered are created
2497 on the destination. Specifying a directory with a trailing slash
2498 copies its immediate contents to the destination.
2500 - The --files-from option now implies --dirs (-d).
2502 - Added the --list-only option, which is mainly a way for the client to
2503 put the server into listing mode without needing to resort to any
2504 internal option kluges (e.g. the age-old use of "-r --exclude="/*/*"
2505 for a non-recursive listing). This option is used automatically
2506 (behind the scenes) when a modern rsync speaks to a modern daemon,
2507 but may also be specified manually if you want to force the use of
2508 the --list-only option over a remote-shell connection.
2510 - Added the --omit-dir-times (-O) option, which will avoid updating
2511 the modified time for directories when --times was specified. This
2512 option will avoid an extra pass through the file-list at the end of
2513 the transfer (to tweak all the directory times), which may provide
2514 an appreciable speedup for a really large transfer. (Promoted from
2517 - Added the --filter (-f) option and its helper option, -F. Filter
2518 rules are an extension to the existing include/exclude handling
2519 that also supports nested filter files as well as per-directory
2520 filter files (like .cvsignore, but with full filter-rule parsing).
2521 This new option was chosen in order to ensure that all existing
2522 include/exclude processing remained 100% compatible with older
2523 versions. Protocol 29 is needed for full filter-rule support, but
2524 backward-compatible rules work with earlier protocol versions.
2525 (Promoted from the patches dir and enhanced.)
2527 - Added the --delay-updates option that puts all updated files into
2528 a temporary directory (by default ".~tmp~", but settable via the
2529 --partial-dir=DIR option) until the end of the transfer. This
2530 makes the updates a little more atomic for a large transfer.
2532 - If rsync is put into the background, any output from --progress is
2535 - Documented the "max verbosity" setting for rsyncd.conf. (This
2536 setting was added a couple releases ago, but left undocumented.)
2538 - The sender and the generator now double-check the file-list index
2539 they are given, and refuse to try to do a file transfer on a
2540 non-file index (since that would indicate that something had gone
2543 - Added the --itemize-changes (-i) option, which is a way to output a
2544 more detailed list of what files changed and in what way. The effect
2545 is the same as specifying a --log-format of "%i %n%L" (see both the
2546 rsync and rsyncd.conf manpages). Works with --dry-run too.
2548 - Added the --fuzzy (-y) option, which attempts to find a basis file
2549 for a file that is being created from scratch. The current algorithm
2550 only looks in the destination directory for the created file, but it
2551 does attempt to find a match based on size/mod-time (in case the file
2552 was renamed with no other changes) as well as based on a fuzzy
2553 name-matching algorithm. This option requires protocol 29 because it
2554 needs the new file-sorting order. (Promoted from patches dir and
2555 enhanced.) (Requires protocol 29.)
2557 - Added the --remove-sent-files option, which lets you move files
2560 - The hostname in HOST:PATH or HOST::PATH may now be an IPv6 literal
2561 enclosed in '[' and ']' (e.g. "[::1]"). (We already allowed IPv6
2562 literals in the rsync://HOST:PORT/PATH format.)
2564 - When rsync recurses to build the file list, it no longer keeps open
2565 one or more directory handles from the dir's parent dirs.
2567 - When building under windows, the default for --daemon is now to
2568 avoid detaching, requiring the new --detach option to force rsync
2571 - The --dry-run option can now be combined with either --write-batch or
2572 --read-batch, allowing you to run a do-nothing test command to see
2573 what would happen without --dry-run.
2575 - The daemon's "read only" config item now sets an internal read_only
2576 variable that makes extra sure that no write/delete calls on the
2577 read-only side can succeed.
2579 - The log-format % escapes can now have a numeric field width in
2580 between the % and the escape letter (e.g. "%-40n %08p").
2582 - Improved the option descriptions in the --help text.
2586 - Added atomic-rsync to the support dir: a perl script that will
2587 transfer some files using rsync, and then move the updated files into
2588 place all at once at the end of the transfer. Only works when
2589 pulling, and uses --link-dest and a parallel hierarchy of files to
2592 - Added mnt-excl to the support dir: a perl script that takes the
2593 /proc/mounts file and translates it into a set of excludes that will
2594 exclude all mount points (even mapped mounts to the same disk). The
2595 excludes are made relative to the specified source dir and properly
2598 - Added savetransfer.c to the support dir: a C program that can make
2599 a copy of all the data that flows over the wire. This lets you test
2600 for data corruption (by saving the data on both the sending side and
2601 the receiving side) and provides one way to debug a protocol error.
2603 - Added rrsync to the support dir: this is an updated version of Joe
2604 Smith's restricted rsync perl script. This helps to ensure that only
2605 certain rsync commands can be run by an ssh invocation.
2609 - Added better checking of the checksum-header values that come over
2612 - Merged a variety of file-deleting functions into a single function so
2613 that it is easier to maintain.
2615 - Improved the type of some variables (particularly blocksize vars) for
2616 consistency and proper size.
2618 - Got rid of the uint64 type (which we didn't need).
2620 - Use a slightly more compatible set of core #include directives.
2622 - Defined int32 in a way that ensures that the build dies if we can't
2623 find a variable with at least 32 bits.
2625 PROTOCOL DIFFERENCES FOR VERSION 29:
2627 - A 16-bit flag-word is transmitted after every file-list index. This
2628 indicates what is changing between the sender and the receiver. The
2629 generator now transmits an index and a flag-word to indicate when
2630 dirs and symlinks have changed (instead of producing a message),
2631 which makes the outputting of the information more consistent and
2632 less prone to screen corruption (because the local receiver/sender is
2633 now outputting all the file-change info messages).
2635 - If a file is being hard-linked, the ITEM_XNAME_FOLLOWS bit is enabled
2636 in the flag-word and the name of the file that was linked immediately
2637 follows in vstring format (see below).
2639 - If a file is being transferred with an alternate-basis file, the
2640 ITEM_BASIS_TYPE_FOLLOWS bit is enabled in the flag-word and a single
2641 byte follows, indicating what type of basis file was chosen. If that
2642 indicates that a fuzzy-match was selected, the ITEM_XNAME_FOLLOWS bit
2643 is set in the flag-word and the name of the match in vstring format
2644 follows the basis byte. A vstring is a variable length string that
2645 has its size written prior to the string, and no terminating null.
2646 If the string is from 1-127 bytes, the length is a single byte. If
2647 it is from 128-32767 bytes, the length is written as ((len >> 8) |
2648 0x80) followed by (len % 0x100).
2650 - The sending of exclude names is done using filter-rule syntax. This
2651 means that all names have a prefixed rule indicator, even excludes
2652 (which used to be sent as a bare pattern, when possible). The -C
2653 option will include the per-dir .cvsignore merge file in the list of
2654 filter rules so it is positioned correctly (unlike in some older
2655 transfer scenarios).
2657 - Rsync sorts the filename list in a different way: it sorts the subdir
2658 names after the non-subdir names for each dir's contents, and it
2659 always puts a dir's contents immediately after the dir's name in the
2660 list. (Previously an item named "foo.txt" would sort in between
2661 directory "foo/" and "foo/bar".)
2663 - When talking to a protocol 29 rsync daemon, a list-only request
2664 is able to note this before the options are sent over the wire and
2665 the new --list-only option is included in the options.
2667 - When the --stats bytes are sent over the wire (or stored in a batch),
2668 they now include two elapsed-time values: one for how long it took to
2669 build the file-list, and one for how long it took to send it over the
2670 wire (each expressed in thousandths of a second).
2672 - When --delete-excluded is specified with some filter rules (AKA
2673 excludes), a client sender will now initiate a send of the rules to
2674 the receiver (older protocols used to omit the sending of excludes in
2675 this situation since there were no receiver-specific rules that
2676 survived --delete-excluded back then). Note that, as with all the
2677 filter-list sending, only items that are significant to the other
2678 side will actually be sent over the wire, so the filter-rule list
2679 that is sent in this scenario is often empty.
2681 - An index equal to the file-list count is sent as a keep-alive packet
2682 from the generator to the sender, which then forwards it on to the
2683 receiver. This normally invalid index is only a valid keep-alive
2684 packet if the 16-bit flag-word that follows it contains a single bit
2685 (ITEM_IS_NEW, which is normally an illegal flag to appear alone).
2687 - A protocol-29 batch file includes a bit for the setting of the --dirs
2688 option and for the setting of the --compress option. Also, the shell
2689 script created by --write-batch will use the --filter option instead
2690 of --exclude-from to capture any filter rules.
2694 - Handle an operating system that use mkdev() in place of makedev().
2696 - Improved configure to better handle cross-compiling.
2699 NEWS for rsync 2.6.3 (30 Sep 2004)
2700 Protocol: 28 (unchanged)
2701 Changes since 2.6.2:
2705 - A bug in the sanitize_path routine (which affects a non-chrooted
2706 rsync daemon) could allow a user to craft a pathname that would get
2707 transformed into an absolute path for certain options (but not for
2708 file-transfer names). If you're running an rsync daemon with chroot
2709 disabled, *please upgrade*, ESPECIALLY if the user privs you run
2710 rsync under is anything above "nobody".
2712 OUTPUT CHANGES (ATTN: those using a script to parse the verbose output):
2714 - Please note that the 2-line footer (output when verbose) now uses the
2715 term "sent" instead of "wrote" and "received" instead of "read". If
2716 you are not parsing the numeric values out of this footer, a script
2717 would be better off using the empty line prior to the footer as the
2718 indicator that the verbose output is over.
2720 - The output from the --stats option was similarly affected to change
2721 "written" to "sent" and "read" to "received".
2723 - Rsync ensures that a filename that contains a newline gets mentioned
2724 with each newline transformed into a question mark (which prevents a
2725 filename from causing an empty line to be output).
2727 - The "backed up ..." message that is output when at least 2 --verbose
2728 options are specified is now the same both with and without the
2729 --backup-dir option.
2733 - Fixed a crash bug that might appear when --delete was used and
2734 multiple source directories were specified.
2736 - Fixed a 32-bit truncation of the file length when generating the
2739 - The --backup code no longer attempts to create some directories
2740 over and over again (generating warnings along the way).
2742 - Fixed a bug in the reading of the secrets file (by the daemon) and
2743 the password file (by the client): the files no longer need to be
2744 terminated by a newline for their content to be read in.
2746 - If a file has a read error on the sending side or the reconstructed
2747 data doesn't match the expected checksum (perhaps due to the basis
2748 file changing during the transfer), the receiver will no longer
2749 retain the resulting file unless the --partial option was specified.
2750 (Note: for the read-error detection to work, neither side can be
2751 older than 2.6.3 -- older receivers will always retain the file, and
2752 older senders don't tell the receiver that the file had a read
2755 - If a file gets resent in a single transfer and the --backup option
2756 is enabled, rsync no longer performs a duplicate backup (it used to
2757 overwrite the original file in the backup area).
2759 - Files specified in the daemon's "exclude" or "exclude from" config
2760 items are now excluded from being uploaded (assuming that the module
2761 allows uploading at all) in addition to the old download exclusion.
2763 - Got rid of a potential hang in the receiver when near the end of a
2766 - When using --backup without a --backup-dir, rsync no longer preserves
2767 the modify time on directories. This avoids confusing NFS.
2769 - When --copy-links (-L) is specified, we now output a separate error
2770 for a symlink that has no referent instead of claiming that a file
2773 - The --copy-links (-L) option no longer has the side-effect of telling
2774 the receiving side to follow symlinks. See the --keep-dirlinks
2775 option (mentioned below) for a way to specify that behavior.
2777 - Error messages from the daemon server's option-parsing (such as
2778 refused options) are now successfully transferred back to the client
2779 (the server used to fail to send the message because the socket
2780 wasn't in the right state for the message to get through).
2782 - Most transfer errors that occur during a daemon transfer are now
2783 returned to the user in addition to being logged (some messages are
2784 intended to be daemon-only and are not affected by this).
2786 - Fixed a bug in the daemon authentication code when using one of the
2787 batch-processing options.
2789 - We try to work around some buggy IPv6 implementations that fail to
2790 implement IPV6_V6ONLY. This should fix the "address in use" error
2791 that some daemons get when running on an OS with a buggy IPv6
2792 implementation. Also, if the new code gets this error, we might
2793 suggest that the user specify --ipv4 or --ipv6 (if we think it will
2796 - When the remote rsync dies, make a better effort to recover any error
2797 messages it may have sent before dying (the local rsync used to just
2798 die with a socket-write error).
2800 - When using --delete and a --backup-dir that contains files that are
2801 hard-linked to their destination equivalents, rsync now makes sure
2802 that removed files really get removed (avoids a really weird rename()
2805 - Avoid a bogus run-time complaint about a lack of 64-bit integers when
2806 the int64 type is defined as an off_t and it actually has 64-bits.
2808 - Added a configure check for open64() without mkstemp64() so that we
2809 can avoid using mkstemp() when such a combination is encountered.
2810 This bypasses a problem writing out large temp files on OSes such as
2813 - Fixed an age-old crash problem with --read-batch on a local copy
2814 (rsync was improperly assuming --whole-file for the local copy).
2816 - When --dry-run (-n) is used and the destination directory does not
2817 exist, rsync now produces a correct report of files that would be
2818 sent instead of dying with a chdir() error.
2820 - Fixed a bug that could cause a slow-to-connect rsync daemon to die
2821 with an error instead of waiting for the connection to finish.
2823 - Fixed an ssh interaction that could cause output to be lost when the
2824 user chose to combine the output of rsync's stdout and stderr (e.g.
2827 - Fixed an option-parsing bug when --files-from got passed to a daemon.
2831 - Added the --partial-dir=DIR option that lets you specify where to
2832 (temporarily) put a partially transferred file (instead of over-
2833 writing the destination file). E.g. --partial-dir=.rsync-partial
2834 Also added support for the RSYNC_PARTIAL_DIR environment variable
2835 that, when found, transforms a regular --partial option (such as
2836 the convenient -P option) into one that also specifies a directory.
2838 - Added --keep-dirlinks (-K), which allows you to symlink a directory
2839 onto another partition on the receiving side and have rsync treat it
2840 as matching a normal directory from the sender.
2842 - Added the --inplace option that tells rsync to write each destination
2843 file without using a temporary file. The matching of existing data
2844 in the destination file can be severely limited by this, but there
2845 are also cases where this is more efficient (such as appending data).
2846 Use only when needed (see the man page for more details).
2848 - Added the "write only" option for the daemon's config file.
2850 - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
2851 and documented all these options in the man page.
2853 - Improved the handling of the --bwlimit option so that it's less
2854 bursty, more accurate, and works properly over a larger range of
2857 - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
2858 SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
2860 - Added the --checksum-seed=N option for advanced users.
2862 - Batch writing/reading has a brand-new implementation that is simpler,
2863 fixes a few weird problems with the old code (such as no longer
2864 sprinkling the batch files into different dirs or even onto different
2865 systems), and is much less intrusive into the code (making it easier
2866 to maintain for the future). The new code generates just one data
2867 file instead of three, which makes it possible to read the batch on
2868 stdin via a remote shell. Also, the old requirement of forcing the
2869 same fixed checksum-seed for all batch processing has been removed.
2871 - If an rsync daemon has a module set with "list = no" (which hides its
2872 presence in the list of available modules), a user that fails to
2873 authenticate gets the same "unknown module" error that they would get
2874 if the module were actually unknown (while still logging the real
2875 error to the daemon's log file). This prevents fishing for module
2878 - The daemon's "refuse options" config item now allows you to match
2879 option names using wildcards and/or the single-letter option names.
2881 - Each transferred file now gets its permissions and modified-time
2882 updated before the temp-file gets moved into place. Previously, the
2883 finished file would have a very brief window where its permissions
2884 disallowed all group and world access.
2886 - Added the ability to parse a literal IPv6 address in an "rsync:" URL
2887 (e.g. rsync://[2001:638:500:101::21]:873/module/dir).
2889 - The daemon's wildcard expanding code can now handle more than 1000
2890 filenames (it's now limited by memory instead of having a hard-wired
2895 - Some cleanup in the exclude code has saved some per-exclude memory
2896 and made the code easier to maintain.
2898 - Improved the argv-overflow checking for a remote command that has a
2901 - Use rsyserr() in the various places that were still calling rprintf()
2902 with strerror() as an arg.
2904 - If an rsync daemon is listening on multiple sockets (to handle both
2905 IPv4 and IPv6 to a single port), we now close all the unneeded file
2906 handles after we accept a connection (we used to close just one of
2909 - Optimized the handling of larger block sizes (rsync used to slow to a
2910 crawl if the block size got too large).
2912 - Optimized away a loop in hash_search().
2914 - Some improvements to the sanitize_path() and clean_fname() functions
2915 makes them more efficient and produce better results (while still
2916 being compatible with the file-name cleaning that gets done on both
2917 sides when sending the file-list).
2919 - Got rid of alloc_sanitize_path() after adding a destination-buffer
2920 arg to sanitize_path() made it possible to put all the former's
2921 functionality into the latter.
2923 - The file-list that is output when at least 4 verbose options are
2924 specified reports the uid value on the sender even when rsync is
2925 not running as root (since we might be sending to a root receiver).
2929 - Added a "gen" target to rebuild most of the generated files,
2930 including configure, config.h.in, the man pages, and proto.h.
2932 - If "make proto" doesn't find some changes in the prototypes, the
2933 proto.h file is left untouched (its time-stamp used to always be
2936 - The variable $STRIP (that is optionally set by the install-strip
2937 target's rule) was changed to $INSTALL_STRIP because some systems
2938 have $STRIP already set in the environment.
2940 - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
2942 - When cross-compiling, the gettimeofday() function is now assumed to
2943 be a modern version that takes two-args (since we can't test it).
2947 - The scripts in the testsuite dir were cleaned up a bit and a few
2950 - Some new diffs were added to the patches dir, and some accepted
2954 NEWS for rsync 2.6.2 (30 Apr 2004)
2955 Protocol: 28 (unchanged)
2956 Changes since 2.6.1:
2960 - Fixed a major bug in the sorting of the filenames when --relative
2961 is used for some sources (just sources such as "/" and "/*" were
2962 affected). This fix ensures that we ask for the right file-list
2963 item when requesting changes from the sender.
2965 - Rsync now checks the return value of the close() function to
2966 better report disk-full problems on an NFS file system.
2968 - Restored the old daemon-server behavior of logging error messages
2969 rather than returning them to the user. (A better long-term fix
2970 will be sought in the future.)
2972 - An obscure uninitialized-variable bug was fixed in the uid/gid
2973 code. (This bug probably had no ill effects.)
2977 - Got rid of the configure check for sys/sysctl.h (it wasn't used
2978 and was causing a problem on some systems). Also improved the
2979 broken-largefile-locking test to try to avoid failure due to an
2982 - Fixed a compile problem on systems that don't define
2985 - Fixed a compile problem in the popt source for compilers that
2986 don't support __attribute__.
2990 - Improved the testsuite's "merge" test to work on OSF1.
2992 - Two new diffs were added to the patches dir.
2995 NEWS for rsync 2.6.1 (26 Apr 2004)
2996 Protocol: 28 (changed)
2997 Changes since 2.6.0:
3001 - Paths sent to an rsync daemon are more thoroughly sanitized when
3002 chroot is not used. If you're running a non-read-only rsync
3003 daemon with chroot disabled, *please upgrade*, ESPECIALLY if the
3004 user privs you run rsync under is anything above "nobody".
3008 - Lower memory use, more optimal transfer of data over the socket,
3009 and lower CPU usage (see the INTERNAL section for details).
3011 - The RSYNC_PROXY environment variable can now contain a
3012 "USER:PASS@" prefix before the "HOST:PORT" information.
3015 - The --progress output now mentions how far along in the transfer
3016 we are, including both a count of files transferred and a
3017 percentage of the total file-count that we've processed. It also
3018 shows better current-rate-of-transfer and remaining-transfer-time
3021 - Documentation changes now attempt to describe some often mis-
3022 understood features more clearly.
3026 - When -x (--one-file-system) is combined with -L (--copy-links) or
3027 --copy-unsafe-links, no symlinked files are skipped, even if the
3028 referent file is on a different filesystem.
3030 - The --link-dest code now works properly for a non-root user when
3031 (1) the UIDs of the source and destination differ and -o was
3032 specified, or (2) when the group of the source can't be used on
3033 the destination and -g was specified.
3035 - Fixed a bug in the handling of -H (hard-links) that might cause
3036 the expanded PATH/NAME value of the current item to get
3037 overwritten (due to an expanded-name caching bug).
3039 - We now reset the "new data has been sent" flag at the start of
3040 each file we send. This makes sure that an interrupted transfer
3041 with the --partial option set doesn't keep a shorter temp file
3042 than the current basis file when no new data has been transferred
3043 over the wire for that file.
3045 - Fixed a byte-order problem in --batch-mode on big-endian machines.
3048 - When using --cvs-exclude, the exclude items we get from a
3049 per-directory's .cvsignore file once again only affect that one
3050 directory (not all following directories too). The items are also
3051 now properly word-split and parsed without any +/- prefix parsing.
3053 - When specifying the USER@HOST: prefix for a file, the USER part
3054 can now contain an '@', if needed (i.e. the last '@' is used to
3055 find the HOST, not the first).
3057 - Fixed some bugs in the handling of group IDs for non-root users:
3058 (1) It properly handles a group that the sender didn't have a name
3059 for (it would previously skip changing the group on any files in
3060 that group). (2) If --numeric-ids is used, rsync no longer
3061 attempts to set groups that the user doesn't have the permission
3064 - Fixed the "refuse options" setting in the rsyncd.conf file.
3066 - Improved the -x (--one-file-system) flag's handling of any mount-
3067 point directories we encounter. It is both more optimal (in that
3068 it no longer does a useless scan of the contents of the mount-
3069 point dirs) and also fixes a bug where a remapped mount of the
3070 original filesystem could get discovered in a subdir we should be
3073 - Rsync no longer discards a double-slash at the start of a filename
3074 when trying to open the file. It also no longer constructs names
3075 that start with a double slash (unless the user supplied them).
3077 - Path-specifying options to a daemon should now work the same with
3078 or without chroot turned on. Previously, such a option (such as
3079 --link-dest) would get its absolute path munged into a relative
3080 one if chroot was not on, making that setting fairly useless.
3081 Rsync now transforms the path into one that is based on the
3082 module's base dir when chroot is not enabled.
3084 - Fixed a compatibility problem interacting with older rsync
3085 versions that might send us an empty --suffix value without
3086 telling us that --backup-dir was specified.
3088 - The "hosts allow" option for a daemon-over-remote-shell process
3089 now has improved support for IPv6 addresses and a fix for systems
3090 that have a length field in their socket structs.
3092 - Fixed the ability to request an empty backup --suffix when sending
3093 files to an rsync daemon.
3095 - Fixed an option-parsing bug when --files-from was sent to a server
3100 - Most of the I/O is now buffered, which results in a pretty large
3101 speedup when running under MS Windows. (Craig Barratt)
3103 - Optimizations to the name-handling/comparing code have made some
3104 significant reductions in user-CPU time for large file sets.
3106 - Some cleanup of the variable types make the code more consistent.
3108 - Reduced memory requirements of hard link preservation.
3111 - Implemented a new algorithm for hard-link handling that speeds up
3112 the code significantly. (J.W. Schultz and Wayne Davison)
3114 - The --hard-link option now uses the first existing file in the
3115 group of linked files as the basis for the transfer. This
3116 prevents the sub-optimal transfer of a file's data when a new
3117 hardlink is added on the sending side and it sorts alphabetically
3118 earlier in the list than the files that are already present on the
3121 - Dropped support for protocol versions less than 20 (2.3.0 released
3122 15 Mar 1999) and activated warnings for protocols less than 25
3123 (2.5.0 released 23 Aug 2001). (Wayne Davison and J.W. Schultz,
3126 - More optimal data transmission for --hard-links (protocol 28).
3128 - More optimal data transmission for --checksum (protocol 28).
3130 - Less memory is used when --checksum is specified.
3132 - Less memory is used in the file list (a per-file savings).
3134 - The generator is now better about not modifying the file list
3135 during the transfer in order to avoid a copy-on-write memory
3136 bifurcation (on systems where fork() uses shared memory).
3137 Previously, rsync's shared memory would slowly become unshared,
3138 resulting in real memory usage nearly doubling on the receiving
3139 side by the end of the transfer. Now, as long as permissions
3140 are being preserved, the shared memory should remain that way
3141 for the entire transfer.
3143 - Changed hardlink info and file_struct + strings to use allocation
3144 pools. This reduces memory use for large file-sets and permits
3145 freeing memory to the OS. (J.W. Schultz)
3147 - The 2 pipes used between the receiver and generator processes
3148 (which are forked on the same machine) were reduced to 1 pipe and
3149 the protocol improved so that (1) it is now impossible to have the
3150 "redo" pipe fill up and hang rsync, and (2) trailing messages from
3151 the receiver don't get lost on their way through the generator
3152 over to the sender (which mainly affected hard-link messages and
3153 verbose --stats output).
3155 - Improved the internal uid/gid code to be more portable and a
3156 little more optimized.
3158 - The device numbers sent when using --devices are now sent as
3159 separate major/minor values with 32-bit accuracy (protocol 28).
3160 Previously, the copied devices were sent as a single 32-bit
3161 number. This will make inter-operation of 64-bit binaries more
3162 compatible with their 32-bit brethren (with both ends of the
3163 connection are using protocol 28). Note that optimizations in the
3164 binary protocol for sending the device numbers often results in
3165 fewer bytes being used than before, even though more precision is
3168 - Some cleanup of the exclude/include structures and its code made
3169 things clearer (internally), simpler, and more efficient.
3171 - The reading & writing of the file-list in batch-mode is now
3172 handled by the same code that sends & receives the list over the
3173 wire. This makes it much easier to maintain. (Note that the
3174 batch code is still considered to be experimental.)
3178 - The configure script now accepts --with-rsyncd-conf=PATH to
3179 override the default value of the /etc/rsyncd.conf file.
3181 - Fixed configure bug when running "./configure --disable-ipv6".
3183 - Fixed compilation problem on Tru64 Unix (having to do with
3184 sockaddr.sa_len and sockaddr.sin_len).
3188 - Fixed "make test" bug when build dir is not the source dir.
3190 - Added a couple extra diffs in the "patches" dir, removed the ones
3191 that got applied, and rebuilt the rest.
3194 NEWS for rsync 2.6.0 (1 Jan 2004)
3195 Protocol: 27 (changed)
3196 Changes since 2.5.7:
3200 * "ssh" is now the default remote shell for rsync. If you want to
3201 change this, configure like this: "./configure --with-rsh=rsh".
3203 * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
3204 Note that --from0 affects the line-ending character for all the
3205 files read by the --*-from options. (Wayne Davison)
3207 * Length of csum2 is now per-file starting with protocol version
3210 * Per-file dynamic block size is now sqrt(file length). The
3211 per-file checksum size is determined according to an algorithm
3212 provided by Donovan Baarda which reduces the probability of rsync
3213 algorithm corrupting data and falling back using the whole md4
3214 checksums. (J.W. Schultz, Donovan Baarda)
3216 * The --stats option no longer includes the (debug) malloc summary
3217 unless the verbose option was specified at least twice.
3219 * Added a new error/warning code for when files vanish from the
3220 sending side. Made vanished source files not interfere with the
3221 file-deletion pass when --delete-after was specified.
3223 * Various trailing-info sections are now preceded by a newline.
3227 * Fixed several exclude/include matching bugs when using wild-cards.
3228 This has a several user-visible effects, all of which make the
3229 matching more consistent and intuitive. This should hopefully not
3230 cause anyone problems since it makes the matching work more like
3231 what people are expecting. (Wayne Davison)
3233 - A pattern with a "**" no longer causes a "*" to match slashes.
3234 For example, with "/*/foo/**", "foo" must be 2 levels deep.
3235 [If your string has BOTH "*" and "**" wildcards, changing the
3236 "*" wildcards to "**" will provide the old behavior in all
3239 - "**/foo" now matches at the base of the transfer (like /foo
3240 does). [Use "/**/foo" to get the old behavior in all versions.]
3242 - A non-anchored wildcard term floats to match beyond the base of
3243 the transfer. E.g. "CVS/R*" matches at the end of the path,
3244 just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
3245 to get the old behavior in all versions.]
3247 - Including a "**" in the match term causes it to be matched
3248 against the entire path, not just the name portion, even if
3249 there aren't any interior slashes in the term. E.g. "foo**bar"
3250 would exclude "/path/foo-bar" (just like before) as well as
3251 "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
3252 old behavior in all versions.]
3254 * The exclude list specified in the daemon's config file is now
3255 properly applied to the pulled items no matter how deep the
3256 user's file-args are in the source tree. (Wayne Davison)
3258 * For protocol version >= 27, mdfour_tail() is called when the
3259 block size (including checksum_seed) is a multiple of 64.
3260 Previously it was not called, giving the wrong MD4 checksum.
3263 * For protocol version >= 27, a 64 bit bit counter is used in
3264 mdfour.c as required by the RFC. Previously only a 32 bit bit
3265 counter was used, causing incorrect MD4 file checksums for
3266 file sizes >= 512MB - 4. (Craig Barratt)
3268 * Fixed a crash bug when interacting with older rsync versions and
3269 multiple files of the same name are destined for the same dir.
3272 * Keep tmp names from overflowing MAXPATHLEN.
3274 * Make --link-dest honor the absence of -p, -o, and -g.
3276 * Made rsync treat a trailing slash in the destination in a more
3279 * Fixed file I/O error detection. (John Van Essen)
3281 * Fixed bogus "malformed address {hostname}" message in rsyncd log
3282 when checking IP address against hostnames from "hosts allow"
3283 and "hosts deny" parameters in config file.
3285 * Print heap statistics when verbose >= 2 instead of when >= 1.
3287 * Fixed a compression (-z) bug when syncing a mostly-matching file
3288 that contains already-compressed data. (Yasuoka Masahiko and
3291 * Fixed a bug in the --backup code that could cause deleted files
3292 to not get backed up.
3294 * When the backup code makes new directories, create them with mode
3295 0700 instead of 0755 (since the directory permissions in the
3296 backup tree are not yet copied from the main tree).
3298 * Call setgroups() in a more portable manner.
3300 * Improved file-related error messages to better indicate exactly
3301 what pathname failed. (Wayne Davison)
3303 * Fixed some bugs in the handling of --delete and --exclude when
3304 using the --relative (-R) option. (Wayne Davison)
3306 * Fixed bug that prevented regular files from replacing
3307 special files and caused a directory in --link-dest or
3308 --compare-dest to block the creation of a file with the
3309 same path. A directory still cannot be replaced by a
3310 regular file unless --delete specified. (J.W. Schultz)
3312 * Detect and report when open or opendir succeed but read and
3313 readdir fail caused by network filesystem issues and truncated
3314 files. (David Norwood, Michael Brown, J.W. Schultz)
3316 * Added a fix that should give ssh time to restore the tty settings
3317 if the user presses Ctrl-C at an ssh password prompt.
3321 * Eliminated vestigial support for old versions that we stopped
3322 supporting. (J.W. Schultz)
3324 * Simplified some of the option-parsing code. (Wayne Davison)
3326 * Some cleanup made to the exclude code, as well as some new
3327 defines added to enhance readability. (Wayne Davison)
3329 * Changed the protocol-version code so that it can interact at a
3330 lower protocol level than the maximum supported by both sides.
3331 Added an undocumented option, --protocol=N, to force the value
3332 we advertise to the other side (primarily for testing purposes).
3336 NEWS for rsync 2.5.7 (4 Dec 2003)
3337 Protocol: 26 (unchanged)
3338 Changes since 2.5.6:
3342 * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
3343 Russell, Andrea Barisani)
3346 NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
3347 Protocol: 26 (unchanged)
3348 Changes since 2.5.5:
3352 * The --delete-after option now implies --delete. (Wayne Davison)
3354 * The --suffix option can now be used with --backup-dir. (Michael
3357 * Combining "::" syntax with the --rsh/-e option now uses the
3358 specified remote-shell as a transport to talk to a (newly-spawned)
3359 server-daemon. This allows someone to use daemon features, such
3360 as modules, over a secure protocol, such as ssh. (JD Paul)
3362 * The rsync:// syntax for daemon connections is now accepted in the
3365 * If the file name given to --include-from or --exclude-from is "-",
3366 rsync will read from standard input. (J.W. Schultz)
3368 * New option --link-dest which is like --compare-dest except that
3369 unchanged files are hard-linked in to the destination directory.
3372 * Don't report an error if an excluded file disappears during an
3373 rsync run. (Eugene Chupriyanov and Bo Kersey)
3375 * Added .svn to --cvs-exclude list to support subversion. (Jon
3378 * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
3379 and "hosts deny" fields. (Hideaki Yoshifuji)
3381 * Changed exclude file handling to permit DOS or MAC style line
3382 terminations. (J.W. Schultz)
3384 * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
3389 * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
3390 L. Allen, Martin Pool)
3392 * Generate each file's rolling-checksum data as we send it, not
3393 in a separate (memory-eating) pass before hand. This prevents
3394 timeout errors on really large files. (Stefan Nehlsen)
3396 * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
3398 * Better handling of some client-server errors. (Martin Pool)
3400 * Fixed a crash that would occur when sending a list of files that
3401 contains a duplicate name (if it sorts to the end of the file
3402 list) and using --delete. (Wayne Davison)
3404 * Fixed the file-name duplicate-removal code when dealing with multiple
3405 dups in a row. (Wayne Davison)
3407 * Fixed a bug that caused rsync to lose the exit status of its child
3408 processes and sometimes return an exit code of 0 instead of showing
3409 an error. (David R. Staples, Dave Dykstra)
3411 * Fixed bug in --copy-unsafe-links that caused it to be completely
3412 broken. (Dave Dykstra)
3414 * Prevent infinite recursion in cleanup code under certain circumstances.
3415 (Sviatoslav Sviridov and Marc Espie)
3417 * Fixed a bug that prevented rsync from creating intervening directories
3418 when --relative-paths/-R is set. (Craig Barratt)
3420 * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
3424 * Many code cleanups and improved internal documentation. (Martin
3427 * Portability fixes. (Dave Dykstra and Wayne Davison)
3429 * More test cases. (Martin Pool)
3431 * Some test-case fixes. (Brian Poole, Wayne Davison)
3433 * Updated included popt to the latest vendor drop, version 1.6.4.
3436 * Updated config.guess and config.sub to latest versions; this
3437 means rsync should build on more platforms. (Paul Green)
3440 NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
3441 Protocol: 26 (unchanged)
3442 Changes since 2.5.4:
3446 * With --progress, when a transfer is complete show the time taken;
3447 otherwise show expected time to complete. (Cameron Simpson)
3449 * Make "make install-strip" works properly, and "make install"
3450 accepts a DESTDIR variable for help in building binary packages.
3451 (Peter Breitenlohner, Greg Louis)
3453 * If configured with --enable-maintainer-mode, then on receipt of
3454 a fatal signal rsync will try to open an xterm running gdb,
3455 similarly to Samba's "panic action" or GNOME's bug-buddy.
3461 * Fix situation where failure to fork (e.g. because out of process
3462 slots) would cause rsync to kill all processes owned by the
3463 current user. Yes, really! (Paul Haas, Martin Pool)
3465 * Fix test suite on Solaris. (Jos Backus, Martin Pool)
3467 * Fix minor memory leak in socket code. (Dave Dykstra, Martin
3470 * Fix --whole-file problem that caused it to be the default even
3471 for remote connections. (Martin Pool, Frank Schulz)
3473 * Work around bug in Mac OS X mkdir(2), which cannot handle
3475 <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
3478 * Improved network error handling. (Greg A. Woods)
3481 NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
3482 Protocol: 26 (unchanged)
3483 Changes since 2.5.3:
3487 * Additional fix for zlib double-free bug. (Martin Pool, Andrew
3488 Tridgell) (CVE CAN-2002-0059)
3492 * Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
3493 (Note that rsync still uses a custom version of zlib; you can
3494 not just link against a system library. See zlib/README.rsync)
3496 * Additional test cases for --compress. (Martin Pool)
3499 NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
3500 Protocol: 26 (unchanged)
3501 Changes since 2.5.2:
3505 * Make sure that supplementary groups are removed from a server
3506 process after changing uid and gid. (Ethan Benson) (Debian bug
3507 #132272, CVE CAN-2002-0080)
3511 * Fix zlib double-free bug. (Owen Taylor, Mark J Cox) (CVE
3514 * Fixed problem that in many cases caused the error message
3515 unexpected read size of 0 in map_ptr
3516 and resulted in the wrong data being copied.
3518 * Fixed compilation errors on some systems caused by the use of
3519 "unsigned int64" in rsync.h.
3521 * Fixed problem on systems such as Sunos4 that do not support realloc
3522 on a NULL pointer; error was "out of memory in flist_expand".
3524 * Fix for rsync server processes hanging around after the client
3525 unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
3527 * Cope with BSD systems on which mkdir() will not accept a trailing
3532 * Merge in changes from zlib 1.1.2 to zlib 1.1.3. (Note that
3533 rsync still uses a custom version of zlib; you can not just link
3534 against a system library. See zlib/README.rsync)
3536 * Command to initiate connections is only shown with -vv, rather
3537 than -v as in 2.5.2. Output from plain -v is more similar to
3538 what was historically used so as not to break scripts that try
3539 to parse the output.
3541 * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
3543 * Made the --write-batch and --read-batch options actually work
3544 and added documentation in the man page (Jos Backus)
3546 * If the daemon is unable to fork a child to accept a connection,
3547 print an error message. (Colin Walters)
3550 NEWS for rsync 2.5.2 (26 Jan 2002)
3551 Protocol: 26 (changed)
3552 Changes since 2.5.1:
3556 * Signedness security patch from Sebastian Krahmer
3557 <krahmer@suse.de> -- in some cases we were not sufficiently
3558 careful about reading integers from the network.
3562 * Fix possible string mangling in log files.
3564 * Fix for setting local address of outgoing sockets.
3566 * Better handling of hardlinks and devices on platforms with
3567 64-bit dev_t or ino_t.
3569 * Name resolution on machines supporting IPv6 is improved.
3571 * Fix for device nodes. (dann frazier) (Debian #129135)
3575 * With -v, rsync now shows the command used to initiate an ssh/rsh
3578 * --statistics now shows memory heap usage on platforms that
3581 * "The Ted T'so school of program optimization": make progress
3582 visible and people will think it's faster. (With --progress,
3583 rsync will show you how many files it has seen as it builds the
3584 file_list, giving some indication that it has not hung.)
3586 * Improvements to batch mode support. This is still experimental
3587 but testing would be welcome. (Jos Backus)
3589 * New --ignore-existing option, patch previously distributed with
3590 Vipul's Razor. (Debian #124286)
3593 NEWS for rsync 2.5.1 (3 Jan 2002)
3594 Protocol: 25 (unchanged)
3595 Changes since 2.5.0:
3599 * Fix for segfault in --daemon mode configuration parser. (Paul
3602 * Correct string<->address parsing for both IPv4 and 6.
3603 (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
3606 * Various fixes for IPv6 support. (Dave Dykstra)
3608 * rsync.1 typo fix. (Matt Kraai)
3610 * Test suite typo fixes. (Tom Schmidt)
3612 * rsync.1 grammar and clarity improvements. (Edward
3615 * Correction to ./configure tests for inet_ntop. (Jeff Garzik)
3619 * --progress and -P now show estimated data transfer rate (in a
3620 multiple of bytes/s) and estimated time to completion. (Rik
3623 * --no-detach option, required to run as a W32 service and also
3624 useful when running on Unix under daemontools, AIX's SRC, or a
3625 debugger. (Max Bowsher, Jos Backus)
3627 * Clearer error messages for some conditions.
3630 NEWS for rsync 2.5.0 (30 Nov 2001)
3631 Protocol: 25 (changed)
3632 Changes since 2.4.6:
3636 * Martin Pool <mbp@samba.org> is now a co-maintainer.
3640 * Support for LSB-compliant packaging <http://www.linuxbase.org/>
3642 * Shell wildcards are allowed in "auth users" lines.
3644 * Merged UNC rsync+ patch to support creation of standalone patch
3645 sets. By Bert J. Dempsey and Debra Weiss, updated by Jos
3646 Backus. <http://www.ils.unc.edu/i2dsi/unc_rsync+.html>
3648 * IPv6 support based on a patch from KAME.net, on systems
3649 including modern versions of Linux, Solaris, and HP-UX. Also
3650 includes IPv6 compatibility functions for old OSs by the
3651 Internet Software Consortium, Paul Vixie, the OpenSSH
3652 portability project, and OpenBSD.
3656 * Include/exclude cluestick: with -vv, print out whether files are
3657 included or excluded and why.
3659 * Many error messages have more friendly explanations and more
3662 * Manual page improvements plus scanty protocol documentation.
3664 * When running as --daemon in the background and using a "log
3665 file" rsyncd.conf directive, close the log file every time it is
3666 open when going to sleep on the socket. This allows the log
3667 file to get cleaned out by another process.
3669 * Change to using libpopt rather than getopt for processing
3670 options. This makes the code cleaner and the behaviour more
3671 consistent across platforms. popt is included and built if not
3672 installed on the platform.
3674 * More details in --version, including note about whether 64-bit
3675 files, symlinks and hardlinks are supported.
3677 * MD4 code may use less CPU cycles.
3679 * Use mkstemp on systems where it is secure. If we use mktemp,
3680 explain that we do it in a secure way.
3682 * --whole-file is the default when source and target are on the
3687 * Fix for various bugs causing rsync to hang.
3689 * Attempt to fix Large File Summit support on AIX.
3691 * Attempt to fix error handling lockup bug.
3693 * Give a non-0 exit code if *any* of the files we have been asked
3694 to transfer fail to transfer.
3696 * For log messages containing ridiculously long strings that might
3697 overflow a buffer rsync no longer aborts, but rather prints an
3698 ellipsis at the end of the string. (Patch from Ed Santiago.)
3702 * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
3704 * autoconf2.52 (or later) is now required to rebuild the autoconf
3705 scripts. It is not required to simply build rsync.
3707 * Platforms thought to work in this release:
3709 Cray SV1 UNICOS 10.0.0.8 cc
3710 Debian Linux 2.2 UltraSparc gcc
3711 Debian Linux testing/unstable ARM gcc
3712 FreeBSD 3.3-RELEASE i386 cc
3713 FreeBSD 4.1.1-RELEASE i386 cc
3714 FreeBSD 4.3-STABLE i386 cc
3715 HP PA-RISC HP-UX 10.20 gcc
3716 HP PA-RISC HP-UX 11.11 cc
3719 Mac OS X PPC (--disable-ipv6) cc
3721 NetBSD Current i386 cc
3722 OpenBSD 2.5 Sparc gcc
3724 OpenBSD Current i386 cc
3726 RedHat 6.2 i386 insure++
3728 RedHat 7.1 i386 (Kernel 2.4.10) gcc
3729 Slackware 8.0 i686 (Kernel 2.4.10)
3730 Solaris 8 UltraSparc cc
3731 Solaris 8 UltraSparc gcc
3733 SuSE 7.1 i386 gcc2.95.2
3734 SuSE 7.1 ppc gcc2.95.2
3735 i386-pc-sco3.2v5.0.5 cc
3736 i386-pc-sco3.2v5.0.5 gcc
3737 powerpc-ibm-aix4.3.3.0 cc
3738 i686-unknown-sysv5UnixWare7.1.0 gcc
3739 i686-unknown-sysv5UnixWare7.1.0 cc
3743 * The existing test.sh script by Phil Hands has been merged into a
3744 test framework that works from both "make check" and the Samba
3747 Partial Protocol History
3748 RELEASE DATE VER. DATE OF COMMIT* PROTOCOL
3749 ?? May 2020 3.2.0 ??
3750 28 Jan 2018 3.1.3 31
3751 21 Dec 2015 3.1.2 31
3752 22 Jun 2014 3.1.1 31
3753 28 Sep 2013 3.1.0 31 Aug 2008 31
3754 23 Sep 2011 3.0.9 30
3755 26 Mar 2011 3.0.8 30
3756 31 Dec 2009 3.0.7 30
3757 08 May 2009 3.0.6 30
3758 28 Dec 2008 3.0.5 30
3759 06 Sep 2008 3.0.4 30
3760 29 Jun 2008 3.0.3 30
3761 08 Apr 2008 3.0.2 30
3762 03 Apr 2008 3.0.1 30
3763 01 Mar 2008 3.0.0 11 Nov 2006 30
3764 06 Nov 2006 2.6.9 29
3765 22 Apr 2006 2.6.8 29
3766 11 Mar 2006 2.6.7 29
3767 28 Jul 2005 2.6.6 29
3768 01 Jun 2005 2.6.5 29
3769 30 Mar 2005 2.6.4 17 Jan 2005 29
3770 30 Sep 2004 2.6.3 28
3771 30 Apr 2004 2.6.2 28
3772 26 Apr 2004 2.6.1 08 Jan 2004 28
3773 01 Jan 2004 2.6.0 10 Apr 2003 27 (MAX=40)
3774 04 Dec 2003 2.5.7 26
3775 26 Jan 2003 2.5.6 26
3776 02 Apr 2002 2.5.5 26
3777 13 Mar 2002 2.5.4 26
3778 11 Mar 2002 2.5.3 26
3779 26 Jan 2002 2.5.2 11 Jan 2002 26
3780 03 Jan 2002 2.5.1 25
3781 30 Nov 2001 2.5.0 23 Aug 2001 25
3782 06 Sep 2000 2.4.6 24
3783 19 Aug 2000 2.4.5 24
3784 29 Jul 2000 2.4.4 24
3785 09 Apr 2000 2.4.3 24
3786 30 Mar 2000 2.4.2 24
3787 30 Jan 2000 2.4.1 29 Jan 2000 24
3788 29 Jan 2000 2.4.0 28 Jan 2000 23
3789 25 Jan 2000 2.3.3 23 Jan 2000 22
3790 08 Nov 1999 2.3.2 26 Jun 1999 21
3791 06 Apr 1999 2.3.1 20
3792 15 Mar 1999 2.3.0 15 Mar 1999 20
3793 25 Nov 1998 2.2.1 19
3794 03 Nov 1998 2.2.0 19
3795 09 Sep 1998 2.1.1 19
3796 20 Jul 1998 2.1.0 19
3797 17 Jul 1998 2.0.19 19
3798 18 Jun 1998 2.0.17 19
3799 01 Jun 1998 2.0.16 19
3800 27 May 1998 2.0.13 27 May 1998 19
3801 26 May 1998 2.0.12 18
3802 22 May 1998 2.0.11 18
3803 18 May 1998 2.0.9 18 May 1998 18
3804 17 May 1998 2.0.8 17
3805 15 May 1998 2.0.1 17
3806 14 May 1998 2.0.0 17
3807 17 Apr 1998 1.7.4 17
3808 13 Apr 1998 1.7.3 17
3809 05 Apr 1998 1.7.2 17
3810 26 Mar 1998 1.7.1 17
3811 26 Mar 1998 1.7.0 26 Mar 1998 17 (MAX=30)
3812 13 Jan 1998 1.6.9 13 Jan 1998 15 (MAX=20)
3814 * DATE OF COMMIT is the date the protocol change was committed to CVS.