1 NEWS for rsync 3.1.0 (28 Sep 2013)
7 - Output numbers in 3-digit groups by default (e.g. 1,234,567). See the
8 --human-readable option for a way to turn it off. See also the daemon's
9 "log format" parameter and related command-line options (including
10 --out-format) for a modifier that can be used to request digit-grouping
11 or human-readable output in log escapes. (Note that log output is
12 unchanged by default.)
14 - The --list-only option is now affected by the --human-readable setting.
15 It will display digit groupings by default, and unit suffixes if higher
16 levels of readability are requested. Also, the column width for the size
17 output has increased from 11 to 14 characters when human readability is
18 enabled. Use --no-h to get the old-style output and column size.
20 - The output of the --progress option has changed: the string "xfer" was
21 shortened to "xfr", and the string "to-check" was shortened to "to-chk",
22 both designed to make room for the (by default) wider display of file
23 size numbers without making the total line-length longer. Also, when
24 incremental recursion is enabled, the string "ir-chk" will be used
25 instead of "to-chk" up until the incremental-recursion scan is done,
26 letting you know that the value to check and the total value will still
27 be increasing as new files are found.
29 - Enhanced the --stats output: 1) to mention how many files were created
30 (protocol >= 28), 2) to mention how many files were deleted (a new line
31 for protocol 31, but only output when --delete is in effect), and 3) to
32 follow the file-count, created-count, and deleted-count with a subcount
33 list that shows the counts by type. The wording of the transferred count
34 has also changed so that it is clearer that it is only a count of regular
39 - Fixed a bug in the iconv code when EINVAL or EILSEQ is returned with a
42 - Fixed some rare bugs in --iconv processing that might cause a multibyte
43 character to get translated incorrectly.
45 - Fixed a bogus "vanished file" error if some files were specified with
46 "./" prefixes and others were not.
48 - Fixed a bug in --sparse where an extra gap could get inserted after a
51 - Changed the way --progress overwrites its prior output in order to make
52 it nearly impossible for the progress to get overwritten by an error.
54 - Improved the propagation of abnormal-exit error messages. This should
55 help the client side to receive errors from the server when it is exiting
56 abnormally, and should also avoid dying with an "connection unexpectedly
57 closed" exit when the closed connection is really expected.
59 - The sender now checks each file it plans to remove to ensure that it
60 hasn't changed from the first stat's info. This helps to avoid losing
61 file data when the user is not using the option in a safe manner.
63 - Fixed a data-duplication bug in the compress option that made compression
64 less efficient. This improves protocol 31 onward, while behaving in a
65 compatible (buggy) manner with older rsync protocols.
67 - When creating a temp-file, rsync is now a bit smarter about it dot-char
68 choices, which can fix a problem on OS X with names that start with "..".
70 - Rsync now sets a cleanup flag for --inplace and --append transfers that
71 will flush the write buffer if the transfer aborts. This ensures that
72 more received data gets written out to the disk on an aborted transfer
73 (which is quite helpful on a slow, flaky connection).
75 - The reads that map_ptr() now does are aligned on 1K boundaries. This
76 helps some filesystems and/or files that don't like unaligned reads.
78 - Fix an issue in the msleep() function if time jumps backwards.
80 - Fix daemon-server module-name splitting bug where an arg would get split
81 even if --protect-args was used.
85 - Added the --remote-option=OPT (-M OPT) command-line option that is useful
86 for things like sending a remote --log-file=FILE or --fake-super option.
88 - Added the --info=FLAGS and --debug=FLAGS options to allow finer-grained
89 control over what is output. Added an extra type of --progress output
90 using --info=progress2.
92 - The --msgs2stderr option can help with debugging rsync by allowing the
93 debug messages to get output to stderr rather than travel via the socket
96 - Added the --delete-missing-args and --ignore-missing-args options to
97 either delete or ignore user-specified files on the receiver that are
98 missing on the sender (normally the absence of user-specified files
101 - Added a "T" (terabyte) category to the --human-readable size suffixes.
103 - Added the --usermap/--groupmap/--chown options for manipulating file
104 ownership during the copy.
106 - Added the "%C" escape to the log-output handling, which will output the
107 MD5 checksum of any transferred file, or all files if --checksum was
108 specified (when protocol 30 or above is in effect).
110 - Added the "reverse lookup" parameter to the rsync daemon config file to
111 allow reverse-DNS lookups to be disabled.
113 - Added a forward-DNS lookup for the daemon's hosts allow/deny config. Can
114 be disabled via "forward lookup" parameter (defaults to enabled).
116 - Added a way for more than one group to be specified in the daemon's
117 config file, including a way to specify that you want all of the
118 specified user's groups without having to name them. Also changed the
119 daemon to complain about an inability to set explicitly-specified uid/gid
120 values, even when not run by a super-user.
122 - The daemon now tries to send the user the error messages from the
123 pre-xfer exec script when it fails.
125 - Improved the use of alt-dest options into an existing hierarchy of files:
126 If a match is found in an alt-dir, it takes precedence over an existing
127 file. (We'll need to wait for a future version before attribute-changes
128 on otherwise unchanged files are safe when using an existing hierarchy.)
130 - Added per-user authorization options and group-authorization support to
131 the daemon's "auth users" parameter.
133 - Added a way to reference environment variables in a daemon's config file
134 (using %VAR% references).
136 - When replacing a non-dir with a symlink/hard-link/device/special-file,
137 the update should now be done in an atomic manner.
139 - Avoid re-sending xattr info for hard-linked files w/the same xattrs
142 - The backup code was improved to use better logic maintaining the backup
143 directory hierarchy. Also, when a file is being backed up, rsync tries
144 to hard-link it into place so that the upcoming replacement of the
145 destination file will be atomic (for the normal, non-inplace logic).
147 - Added the ability to synchronize nano-second modified times.
149 - Added a few more default suffixes for the "dont compress" settings.
151 - Added the checking of the RSYNC_PROTECT_ARGS environment variable to allow
152 the default for the --protect-args command-line option to be overridden.
154 - Added the --preallocate command-line option.
156 - Allow --password-file=- to read the password from stdin (filename "-").
158 - Rsync now comes packaged with an rsync-ssl helper script that can be
159 used to contact a remote rsync daemon using a piped-stunnel command.
160 It also includes an stunnel config file to run the server side to
161 support ssl daemon connections. See the packaging/lsb/rsync.spec
162 file for one way to package the resulting files. (Suggestions for
163 how to make this even easier to install & use are welcomed.)
165 - Improved the speed of some --inplace updates when there are lots of
166 identical checksum blocks that end up being unusable.
168 - Added the --outbuf=N|L|B option for choosing the output buffering.
170 - Repeating the --fuzzy option now causes the code to look for fuzzy
171 matches inside alt-dest directories too.
173 - The --chmod option now supports numeric modes, e.g. --chmod=644,D755
175 - Added some Solaris xattr code.
177 - Made an rsync daemon (the listening process) exit with a 0 status when
178 it was signaled to die. This helps launchd.
180 - Improved the RSYNC_* environment variables for the pre-xfer exec script:
181 when a daemon is sent multiple request args, they are now joined into a
182 single return value (separated by spaces) so that the RSYNC_REQUEST
183 environment variable is accurate for any "pre-xfer exec". The values in
184 RSYNC_ARG# vars are no longer truncated at the "." arg (prior to the
185 request dirs/files), so that all the requested values are also listed
186 (separately) in RSYNC_ARG# variables.
190 - Added an "instant-rsyncd" script to the support directory, which makes
191 it easy to configure a simple rsync daemon in the current directory.
193 - Added the "mapfrom" and "mapto" scripts to the support directory, which
194 makes it easier to do user/group mapping in a local transfer based on
195 passwd/group files from another machine.
197 - There's a new, improved version of the lsh script in the support dir:
198 it's written in perl and supports -u without resorting to using sudo
199 (when run as root). The old shell version is now named lsh.sh.
201 - There is a helper script named rsync-slash-strip in the support directory
202 for anyone that wants to change the way rsync handles args with trailing
203 slashes. (e.g. arg/ would get stripped to arg while arg/. would turn into
208 - The I/O code was rewritten to be simpler and do bigger buffered reads
209 over the socket. The I/O between the receiver and the generator was
210 changed to be standard multiplexed-I/O (like that over the socket).
212 - The sender tries to use any dead time while the generator is looking for
213 files to transfer in order to do sender-side directory scanning in a more
216 - A daemon can now inform a client about a daemon-configured timeout value
217 so that the client can assist in the keep-alive activity (protocol 31).
219 - The filter code received some refactoring to make it more extendible, to
220 read better, and do better sanity checking.
222 - Really big numbers are now output using our own big-num routine rather
223 than casting them to a double and using a %.0f conversion.
225 - The pool_alloc library has received some minor improvements in alignment
228 - Added init_stat_x() function to avoid duplication of acl/xattr init code.
230 - The included zlib was upgraded from 1.2.3 to 1.2.8.
232 - Rsync can now be compiled to use an unmodified zlib library instead of
233 the tweaked one that is included with rsync. This will eventually
234 become the default, at which point we'll start the countdown to removing
235 the included zlib. Until then, feel free to configure using:
237 ./configure --with-included-zlib=no
241 - Added more conditional debug output.
243 - Fixed some build issues for android and minix.
245 NEWS for rsync 3.0.9 (23 Sep 2011)
246 Protocol: 30 (unchanged)
251 - Fix a crash bug in checksum scanning when --inplace is used.
253 - Fix a hang if a hard-linked file cannot be opened by the sender (e.g.
254 if it has no read permission).
256 - Fix preservation of a symlink's system xattrs (e.g. selinux) on Linux.
258 - Fix a memory leak in the xattr code.
260 - Fixed a bug with --delete-excluded when a filter merge file has a rule
261 that specifies a receiver-only side restriction.
263 - Fix a bug with the modifying of unwritable directories.
265 - Fix --fake-super's interaction with --link-dest same-file comparisons.
267 - Fix the updating of the curr_dir buffer to avoid a duplicate slash.
269 - Fix the directory permissions on an implied dot-dir when using --relative
270 (e.g. /outside/path/././send/path).
272 - Fixed some too-long sleeping instances when using --bwlimit.
274 - Fixed when symlink ownership difference-checking gets compiled into
277 - Improved the socket-error reporting when multiple protocols fail.
279 - Fixed a case where a socket error could reference just-freed memory.
281 - Failing to use a password file that was specified on the command-line is
284 - Fix the non-root updating of directories that don't have the read and/or
287 - Make daemon-excluded file errors more error-like.
289 - Fix a compilation issue on older C compilers (due to a misplaced var
292 - Make configure avoid finding socketpair on cygwin.
294 - Avoid trying to reference SO_BROADCAST if the OS doesn't support it.
296 - Fix some issues with the post-processing of the man pages.
298 - Fixed the user home-dir handling in the support/lsh script.
300 - Some minor manpage improvements.
302 NEWS for rsync 3.0.8 (26 Mar 2011)
303 Protocol: 30 (unchanged)
308 - Fixed two buffer-overflow issues: one where a directory path that is
309 exactly MAXPATHLEN was not handled correctly, and one handling a
310 --backup-dir that is extra extra large.
312 - Fixed a data-corruption issue when preserving hard-links without
313 preserving file ownership, and doing deletions either before or during
314 the transfer (CVE-2011-1097). This fixes some assert errors in the
315 hard-linking code, and some potential failed checksums (via -c) that
318 - Fixed a potential crash when an rsync daemon has a filter/exclude list
319 and the transfer is using ACLs or xattrs.
321 - Fixed a hang if a really large file is being processed by an rsync that
322 can't handle 64-bit numbers. Rsync will now complain about the file
323 being too big and skip it.
325 - For devices and special files, we now avoid gathering useless ACL and/or
326 xattr information for files that aren't being copied. (The un-copied
327 files are still put into the file list, but there's no need to gather
328 data that is not going to be used.) This ensures that if the user uses
329 --no-D, that rsync can't possibly complain about being unable to gather
330 extended information from special files that are in the file list (but
331 not in the transfer).
333 - Properly handle requesting remote filenames that start with a dash. This
334 avoids a potential error where a filename could be interpreted as a
335 (usually invalid) option.
337 - Fixed a bug in the comparing of upper-case letters in file suffixes for
340 - If an rsync daemon has a module configured without a path setting, rsync
341 will now disallow access to that module.
343 - If the destination arg is an empty string, it will be treated as a
344 reference to the current directory (as 2.x used to do).
346 - If rsync was compiled with a newer time-setting function (such as
347 lutimes), rsync will fall-back to an older function (such as utimes) on a
348 system where the newer function is not around. This helps to make the
349 rsync binary more portable in mixed-OS-release situations.
351 - Fixed a batch-file writing bug that would not write out the full set of
352 compatibility flags that the transfer was using. This fixes a potential
353 protocol problem for a batch file that contains a sender-side I/O error:
354 it would have been sent in a way that the batch-reader wasn't expecting.
356 - Some improvements to the hard-linking code to ensure that device-number
357 hashing is working right, and to supply more information if the hard-link
360 - The --inplace code was improved to not search for an impossible checksum
361 position. The quadruple-verbose chunk[N] message will now mention when
362 an inplace chunk was handled by a seek rather than a read+write.
364 - Improved ACL mask handling, e.g. for Solaris.
366 - Fixed a bug that prevented --numeric-ids from disabling the translation
367 of user/group IDs for ACLs.
369 - Fixed an issue where an xattr and/or ACL transfer that used an alt-dest
370 option (e.g. --link-dest) could output an error trying to itemize the
371 changes against the alt-dest directory's xattr/ACL info but was instead
372 trying to access the not-yet-existing new destination directory.
374 - Improved xattr system-error messages to mention the full path to the
377 - The --link-dest checking for identical symlinks now avoids considering
378 attribute differences that cannot be changed on the receiver.
380 - Avoid trying to read/write xattrs on certain file types for certain OSes.
381 Improved configure to set NO_SYMLINK_XATTRS, NO_DEVICE_XATTRS, and/or
382 NO_SPECIAL_XATTRS defines in config.h.
384 - Improved the unsafe-symlink errors messages.
386 - Fixed a bug setting xattrs on new files that aren't user writable.
388 - Avoid re-setting xattrs on a hard-linked file w/the same xattrs.
390 - Fixed a bug with --fake-super when copying files and dirs that aren't
393 - Fixed a bug where a sparse file could have its last sparse block turned
394 into a real block when rsync sets the file size (requires ftruncate).
396 - If a temp-file name is too long, rsync now avoids truncating the name in
397 the middle of adjacent high-bit characters. This prevents a potential
398 filename error if the filesystem doesn't allow a name to contain an
399 invalid multi-byte sequence.
401 - If a muli-protocol socket connection fails (i.e., when contacting a
402 daemon), we now report all the failures, not just the last one. This
403 avoids losing a relevant error (e.g. an IPv4 connection-refused error)
404 that happened before the final error (e.g. an IPv6 protocol-not-supported
407 - Generate a transfer error if we try to call chown with a -1 for a uid or
408 a gid (which is not settable).
410 - Fixed the working of --force when used with --one-file-system.
412 - Fix the popt arg parsing so that an option that doesn't take an arg will
413 reject an attempt to supply one (can configure --with-included-popt if
414 your system's popt library doesn't yet have this fix).
416 - A couple minor option tweaks to the support/rrsync script, and also some
417 regex changes that make vim highlighting happier.
419 - Fixed some issues in the support/mnt-excl script.
421 - Various manpage improvements.
425 - Added ".hg/" to the default cvs excludes (see -C & --cvs-exclude).
429 - Use lchmod() whenever it is available (not just on symlinks).
431 - A couple fixes to the socketpair_tcp() routine.
433 - Updated the helper scripts in the packaging subdirectory.
435 - Renamed configure.in to configure.ac.
437 - Fixed configure's checking for iconv routines for newer OS X versions.
439 - Fixed the testsuite/xattrs.test script on OS X.
441 NEWS for rsync 3.0.7 (31 Dec 2009)
442 Protocol: 30 (unchanged)
447 - Fixed a bogus free when using --xattrs with --backup.
449 - Avoid an error when --dry-run was trying to stat a prior hard-link file
450 that hasn't really been created.
452 - Fixed a problem with --compress (-z) where the receiving side could
453 return the error "inflate (token) returned -5".
455 - Fixed a bug where --delete-during could delete in a directory before it
456 noticed that the sending side sent an I/O error for that directory (both
457 sides of the transfer must be at least 3.0.7).
459 - Improved --skip-compress's error handling of bad character-sets and got
460 rid of a lingering debug fprintf().
462 - Fixed the daemon's conveyance of io_error value from the sender.
464 - An rsync daemon use seteuid() (when available) if it used setuid().
466 - Get the permissions right on a --fake-super transferred directory that
467 needs more owner permissions to emulate root behavior.
469 - An absolute-path filter rule (i.e. with a '/' modifier) no longer loses
470 its modifier when sending the filter rules to the remote rsync.
472 - Improved the "--delete does not work without -r or -d" message.
474 - Improved rsync's handling of --timeout to avoid a weird timeout case
475 where the sender could timeout even though it has recently written data
476 to the socket (but hasn't read data recently, due to the writing).
478 - Some misc manpage improvements.
480 - Fixed the chmod-temp-dir testsuite on a system without /var/tmp.
482 - Make sure that a timeout specified in the daemon's config is used as a
483 maximum timeout value when the user also specifies a timeout.
485 - Improved the error-exit reporting when rsync gets an error trying to
486 cleanup after an error: the initial error is reported.
488 - Improved configure's detection of IPv6 for solaris and cygwin.
490 - The AIX sysacls routines will now return ENOSYS if ENOTSUP is missing.
492 - Made our (only used if missing) getaddrinfo() routine use inet_pton()
493 (which we also provide) instead of inet_aton().
495 - The exit-related debug messages now mention the program's role so it is
496 clear who output what message.
500 - Got rid of type-punned compiler warnings output by newer gcc versions.
502 - The Makefile now ensures that proto.h will be rebuilt if config.h changes.
504 - The testsuite no longer uses "id -u", so it works better on solaris.
507 NEWS for rsync 3.0.6 (8 May 2009)
508 Protocol: 30 (unchanged)
513 - Fixed a --read-batch hang when rsync is reading a batch file that was
514 created from an incremental-recursion transfer.
516 - Fixed the daemon's socket code to handle the simultaneous arrival of
517 multiple connections.
519 - Fix --safe-links/--copy-unsafe-links to properly handle symlinks that
520 have consecutive slashes in the value.
522 - Fixed the parsing of an [IPv6_LITERAL_ADDR] when a USER@ is prefixed.
524 - The sender now skips a (bogus) symlink that has a 0-length value, which
525 avoids a transfer error in the receiver.
527 - Fixed a case where the sender could die with a tag-0 error if there was
528 an I/O during the sending of the file list.
530 - Fixed the rrsync script to avoid a server-side problem when -e is at the
531 start of the short options.
533 - Fixed a problem where a vanished directory could turn into an exit code
534 23 instead of the proper exit code 24.
536 - Fixed the --iconv conversion of symlinks when doing a local copy.
538 - Fixed a problem where --one-file-system was not stopping deletions on the
539 receiving side when a mount-point directory did not match a directory in
542 - Fixed the dropping of an ACL mask when no named ACL values were present.
544 - Fixed an ACL/xattr corruption issue where the --backup option could cause
545 rsync to associate the wrong ACL/xattr information with received files.
547 - Fixed the use of --xattrs with --only-write-batch.
549 - Fixed the use of --dry-run with --read-batch.
551 - Fixed configure's erroneous use of target.
553 - Fixed configure's --disable-debug option.
555 - Fixed a run-time issue for systems that can't find iconv_open() by adding
556 the --disable-iconv-open configure option.
558 - Complain and die if the user tries to combine --remove-source-files (or
559 the deprecated --remove-sent-files) with --read-batch.
561 - Fixed an failure transferring special files from Solaris to Linux.
564 NEWS for rsync 3.0.5 (28 Dec 2008)
565 Protocol: 30 (unchanged)
570 - Initialize xattr data in a couple spots in the hlink code, which avoids a
571 crash when the xattr pointer's memory happens to start out non-zero.
572 Also fixed the itemizing of an alt-dest file's xattrs when hard-linking.
574 - Don't send a bogus "-" option to an older server if there were no short
577 - Fixed skipping of unneeded updates in a batch file when incremental
578 recursion is active. Added a test for this. Made batch-mode handle
579 "redo" files properly (and without hanging).
581 - Fix the %P logfile escape when the daemon logs from inside a chroot.
583 - Fixed the use of -s (--protect-args) when used with a remote source or
584 destination that had an empty path (e.g. "host:"). Also fixed a problem
585 when -s was used when accessing a daemon via a remote-shell.
587 - Fixed the use of a dot-dir path (e.g. foo/./bar) inside a --files-from
588 file when the root of the transfer isn't the current directory.
590 - Fixed a bug with "-K --delete" removing symlinks to directories when
591 incremental recursion is active.
593 - Fixed a hard to trigger hang when using --remove-source-files.
595 - Got rid of an annoying delay when accessing a daemon via a remote-shell.
597 - Properly ignore (superfluous) source args on a --read-batch command.
599 - Improved the manpage's description of the '*' wildcard to remove the
600 confusing "non-empty" qualifier.
602 - Fixed reverse lookups in the compatibility-library version of
605 - Fixed a bug when using --sparse on a sparse file that has over 2GB of
606 consecutive sparse data.
608 - Avoid a hang when using at least 3 --verbose options on a transfer with a
609 client sender (which includes local copying).
611 - Fixed a problem with --delete-delay reporting an error when it was ready
612 to remove a directory that was now gone.
614 - Got rid of a bunch of "warn_unused_result" compiler warnings.
616 - If an ftruncate() on a received file fails, it now causes a partial-
619 - Allow a path with a leading "//" to be preserved (CYGWIN only).
623 - Made the support/atomic-rsync script able to perform a fully atomic
624 update of the copied hierarchy when the destination is setup using a
625 particular symlink idiom.
628 NEWS for rsync 3.0.4 (6 Sep 2008)
629 Protocol: 30 (unchanged)
634 - Fixed a bug in the hard-linking code where it would sometimes try to
635 allocate 0 bytes of memory (which fails on some OSes, such as AIX).
637 - Fixed the hard-linking of files from a device that has a device number
638 of 0 (which seems to be a common device number on NetBSD).
640 - Fixed the handling of a --partial-dir that cannot be created. This
641 particularly impacts the --delay-updates option (since the files cannot
642 be delayed without a partial-dir), and was potentially destructive if
643 the --remove-source-files was also specified.
645 - Fixed a couple issues in the --fake-super handling of xattrs when the
646 destination files have root-level attributes (e.g. selinux values) that
647 a non-root copy can't affect.
649 - Improved the keep-alive check in the generator to fire consistently in
650 incremental-recursion mode when --timeout is enabled.
652 - The --iconv option now converts the content of a symlink too, instead
653 of leaving it in the wrong character-set (requires 3.0.4 on both sides
656 - When using --iconv, if a filename fails to convert on the receiving side,
657 this no longer makes deletions in the root-dir of the transfer fail
658 silently (the user now gets a warning about deletions being disabled
659 due to IO error as long as --ignore-errors was not specified).
661 - When using --iconv, if a server-side receiver can't convert a filename,
662 the error message sent back to the client no longer mangles the name
663 with the wrong charset conversion.
665 - Fixed a potential alignment issue in the IRIX ACL code when allocating
666 the initial "struct acl" object. Also, cast mallocs to avoid warnings.
668 - Changed some errors that were going to stdout to go to stderr.
670 - Made human_num() and human_dnum() able to output a negative number
671 (rather than outputting a cryptic string of punctuation).
675 - Rsync will avoid sending an -e option to the server if an older protocol
676 is requested (and thus the option would not be useful). This lets the
677 user specify the --protocol=29 option to access an overly-restrictive
678 server that is rejecting the protocol-30 use of -e to the server.
680 - Improved the message output for an RERR_PARTIAL exit.
684 - The Makefile will not halt for just a timestamp change on the Makefile
685 or the configure files, only for actual changes in content.
687 - Changed some commands in the testsuite's xattrs.test that called "rsync"
690 - Enhanced the release scripts to be able to handle a branch release and
691 to do even more consistency checks on the files.
694 NEWS for rsync 3.0.3 (29 Jun 2008)
695 Protocol: 30 (unchanged)
700 - Fixed a wildcard matching problem in the daemon when a module has
701 "use chroot" enabled.
703 - Fixed a crash bug in the hard-link code.
705 - Fixed the sending of xattr directory information when the code finds a
706 --link-dest or --copy-dest directory with unchanged xattrs -- the
707 destination directory now gets these unchanged xattrs properly applied.
709 - Fixed an xattr-sending glitch that could cause an "Internal abbrev"
712 - Fixed the combination of --xattrs and --backup.
714 - The generator no longer allows a '.' dir to be excluded by a daemon-
717 - Fixed deletion handling when copying a single, empty directory (with no
718 files) to a differently named, non-existent directory.
720 - Fixed the conversion of spaces into dashes in the %M log escape.
722 - Fixed several places in the code that were not returning the right
723 errno when a function failed.
725 - Fixed the backing up of a device or special file into a backup dir.
727 - Moved the setting of the socket options prior to the connect().
729 - If rsync exits in the middle of a --progress output, it now outputs a
730 newline to help prevent the progress line from being overwritten.
732 - Fixed a problem with how a destination path with a trailing slash or
733 a trailing dot-dir was compared against the daemon excludes.
735 - Fixed the sending of large (size > 16GB) files when talking to an older
736 rsync (protocols < 30): we now use a compatible block size limit.
738 - If a file's length is so huge that we overflow a checksum buffer count
739 (i.e. several hundred TB), warn the user and avoid sending an invalid
740 checksum struct over the wire.
742 - If a source arg is excluded, --relative no longer adds the excluded
743 arg's implied dirs to the transfer. This fix also made the exclude
744 check happen in the better place in the sending code.
746 - Use the overflow_exit() function for overflows, not out_of_memory().
748 - Improved the code to better handle a system that has only 32-bit file
753 - The rsyncd.conf manpage now consistently refers to the parameters in
754 the daemon config file as "parameters".
756 - The description of the --inplace option was improved.
760 - Added a new script in the support directory, deny-rsync, which allows
761 an admin to (temporarily) replace the rsync command with a script that
762 sends an error message to the remote client via the rsync protocol.
766 - Fixed a testcase failure if the tests are run as root and made some
767 compatibility improvements.
769 - Improved the daemon tests, including checking module comments, the
770 listing of files, and the ensuring that daemon excludes can't affect
773 - Improved some build rules for those that build in a separate directory
774 from the source, including better install rules for the man pages, and
775 the fixing of a proto.h-tstamp rule that could make the binaries get
776 rebuild without cause.
778 - Improved the testsuite to work around a problem with some utilities
779 (e.g. cp -p & touch -r) rounding sub-second timestamps.
781 - Ensure that the early patches don't cause any generated-file hunks to
782 bleed-over into patches that follow.
785 NEWS for rsync 3.0.2 (8 Apr 2008)
786 Protocol: 30 (unchanged)
791 - Fixed a potential buffer overflow in the xattr code.
799 - The RPM spec file was improved to install more useful files.
801 - A few developer-oriented scripts were moved from the support dir
802 to the packaging dir.
805 NEWS for rsync 3.0.1 (3 Apr 2008)
806 Protocol: 30 (unchanged)
809 NOTABLE CHANGES IN BEHAVIOR:
811 - Added the 'c'-flag to the itemizing of non-regular files so that the
812 itemized output doesn't get hidden if there were no attribute changes,
813 and also so that the itemizing of a --copy-links run will distinguish
814 between copying an identical non-regular file and the creation of a
815 revised version with a new value (e.g. a changed symlink referent, a
816 new device number, etc.).
820 - Fixed a crash bug when a single-use rsync daemon (via remote shell) was
821 run without specifying a --config=FILE option.
823 - Fixed a crash when backing up a directory that has a default ACL.
825 - Fixed a bug in the handling of xattr values that could cause rsync to
826 not think that a file's extended attributes are up-to-date.
828 - Fixed the working of --fake-super with --link-dest and --xattrs.
830 - Fixed a hang when combining --dry-run with --remove-source-files.
832 - Fixed a bug with --iconv's handling of files that cannot be converted:
833 a failed name can no longer cause a transfer failure.
835 - Fixed the building of the rounding.h file on systems that need custom
836 CPPFLAGS to be used. Also improved the error reporting if the building
839 - Fixed the use of the --protect-args (-s) option when talking to a daemon.
841 - Fixed the --ignore-existing option's protection of files on the receiver
842 that are non-regular files on the sender (e.g. if a symlink or a dir on
843 the sender is trying to replace a file on the receiver). The reverse
844 protection (protecting a dir/symlink/device from being replaced by a
845 file) was already working.
847 - Fixed an assert failure if --hard-links is combined with an option that
848 can skip a file in a set of hard-linked files (i.e. --ignore-existing,
849 --append, etc.), without skipping all the files in the set.
851 - Avoid setting the modify time on a directory that already has the right
852 modify time set. This avoids tweaking the dir's ctime.
854 - Improved the daemon-exclude handling to do a better job of applying the
855 exclude rules to path entries. It also sends the user an error just as
856 if the files were actually missing (instead of silently ignoring the
857 user's args), and avoids sending the user the filter-action messages
858 for these non-user-initiated rules.
860 - Fixed some glitches with the dry-run code's missing-directory
861 handling, including a problem when combined with --fuzzy.
863 - Fixed some glitches with the skipped-directory handling.
865 - Fixed the 'T'-flag itemizing of symlinks when --time isn't preserved.
867 - Fixed a glitch in the itemizing of permissions with the -E option.
869 - The --append option's restricting of transfers to those that add data no
870 longer prevents the updating of non-content changes to otherwise up-to-
871 date files (i.e. those with the same content but differing permissions,
872 ownership, xattrs, etc.).
874 - Don't allow --fake-super to be specified with -XX (double --xattrs)
875 because the options conflict. If a daemon has "fake super" enabled,
876 it automatically downgrades a -XX request to -X.
878 - Fixed a couple bugs in the parsing of daemon-config excludes that could
879 make a floating exclude rule get treated as matching an absolute path.
881 - A daemon doesn't try to auto-refuse the "iconv" option if iconv-support
882 wasn't compiled in to the daemon (avoiding a warning in the logs).
884 - Fixed the inclusion of per-dir merge files from implied dirs.
886 - Fixed the support/rrsync script to work with the latest options that
887 rsync sends (including its flag-specifying use of -e to the server).
891 - Added the --old-dirs (--old-d) option to make it easier for a user to
892 ask for file-listings with older rsync versions (this is easier than
893 having to type "-r --exclude='/*/*'" manually).
895 - When getting an error while asking an older rsync daemon for a file
896 listing, rsync will try to notice if the error is a rejection of the
897 --dirs (-d) option and let the user know how to work around the issue.
899 - Added a few more --no-OPTION overrides.
901 - Improved the documentation of the --append option.
903 - Improved the documentation of the filter/exclude/include daemon
908 - Fixed a couple minor bugs in the included popt library (ones which I
909 sent to the official popt project for inclusion in the 1.14 release).
911 - Fixed a stat() call that should have been do_stat() so that the proper
912 normal/64-bit stat() function gets called. (Was in an area that should
913 not have caused problems, though.)
915 - Changed the file-glob code to do a directory scan without using the
916 "glob" and "glob.h". This lets us do the globbing with less memory
917 churn, and also avoid adding daemon-excluded items to the returned
922 - The configure script tries to get the user's compiler to not warn about
923 unused function parameters if the build is not including one or more of
924 the ACL/xattrs/iconv features.
926 - The configure script now has better checks for figuring out if the
927 included popt code should be used or not.
929 - Fixed two testsuite glitches: avoid a failure if someone's "cd" command
930 outputs the current directory when cd-ing to a relative path, and made
931 the itemized test query how rsync was built to determine if it should
932 expect hard-linked symlinks or not.
934 - Updated the testsuite to verify that various bug fixes remain fixed.
936 - The RPM spec file was updated to have: (1) comments for how to use the
937 rsync-patch tar file, and (2) an /etc/xinetd.d/rsync file.
939 - Updated the build scripts to work with a revised FTP directory
943 NEWS for rsync 3.0.0 (1 Mar 2008)
944 Protocol: 30 (changed)
947 NOTABLE CHANGES IN BEHAVIOR:
949 - The handling of implied directories when using --relative has changed to
950 send them as directories (e.g. no implied dir is ever sent as a symlink).
951 This avoids unexpected behavior and should not adversely affect most
952 people. If you're one of those rare individuals who relied upon having
953 an implied dir be duplicated as a symlink, you should specify the
954 transfer of the symlink and the transfer of the referent directory as
955 separate args. (See also --keep-dirlinks and --no-implied-dirs.)
956 Also, exclude rules no longer have a partial effect on implied dirs.
958 - Requesting a remote file-listing without specifying -r (--recursive) now
959 sends the -d (--dirs) option to the remote rsync rather than sending -r
960 along with an extra exclude of /*/*. If the remote rsync does not
961 understand the -d option (i.e. it is 2.6.3 or older), you will need to
962 either turn off -d (--no-d), or specify -r --exclude='/*/*' manually.
964 - In --dry-run mode, the last line of the verbose summary text is output
965 with a "(DRY RUN)" suffix to help remind you that no updates were made.
966 Similarly, --only-write-batch outputs "(BATCH ONLY)".
968 - A writable rsync daemon with "use chroot" disabled now defaults to a
969 symlink-munging behavior designed to make symlinks safer while also
970 allowing absolute symlinks to be stored and retrieved. This also has
971 the effect of making symlinks unusable while they're in the daemon's
972 hierarchy. See the daemon's "munge symlinks" parameter for details.
974 - Starting up an extra copy of an rsync daemon will not clobber the pidfile
975 for the running daemon -- if the pidfile exists, the new daemon will exit
976 with an error. This means that your wrapper script that starts the rsync
977 daemon should be made to handle lock-breaking (if you want any automatic
978 breaking of locks to be done).
982 - A daemon with "use chroot = no" and excluded items listed in the daemon
983 config file now properly checks an absolute-path arg specified for these
984 options: --compare-dest, --link-dest, --copy-dest, --partial-dir,
985 --backup-dir, --temp-dir, and --files-from.
987 - A daemon can now be told to disable all user- and group-name translation
988 on a per-module basis. This avoids a potential problem with a writable
989 daemon module that has "use chroot" enabled -- if precautions weren't
990 taken, a user could try to add a missing library and get rsync to use
991 it. This makes rsync safer by default, and more configurable when id-
992 translation is not desired. See the daemon's "numeric ids" parameter
995 - A chroot daemon can now indicate which part of its path should affect the
996 chroot call, and which part should become an inside-chroot path for the
997 module. This allows you to have outside-the-transfer paths (such as for
998 libraries) even when you enable chroot protection. The idiom used in the
999 rsyncd.conf file is: path = /chroot/dirs/./dirs/inside
1001 - If a file's data arrived successfully on the receiving side but the
1002 rename of the temporary file to the destination file failed AND the
1003 --remove-source-files (or the deprecated --remove-sent-files) option
1004 was specified, rsync no longer erroneously removes the associated
1007 - Fixed the output of -ii when combined with one of the --*-dest options:
1008 it now itemizes all the items, not just the changed ones.
1010 - Made the output of all file types consistent when using a --*-dest
1011 option. Prior versions would output too many creation events for
1014 - The code that waits for a child pid now handles being interrupted by a
1015 signal. This fixes a problem with the pre-xfer exec function not being
1016 able to get the exit status from the script.
1018 - A negated filter rule (i.e. with a '!' modifier) no longer loses the
1019 negation when sending the filter rules to the remote rsync.
1021 - Fixed a problem with the --out-format (aka --log-format) option %f: it
1022 no longer outputs superfluous directory info for a non-daemon rsync.
1024 - Fixed a problem with -vv (double --verbose) and --stats when "pushing"
1025 files (which includes local copies). Version 2.6.9 would complete the
1026 copy, but exit with an error when the receiver output its memory stats.
1028 - If --password-file is used on a non-daemon transfer, rsync now complains
1029 and exits. This should help users figure out that they can't use this
1030 option to control a remote shell's password prompt.
1032 - Make sure that directory permissions of a newly-created destination
1033 directory are handled right when --perms is left off.
1035 - The itemized output of a newly-created destination directory is now
1036 output as a creation event, not a change event.
1038 - Improved --hard-link so that more corner cases are handled correctly
1039 when combined with options such as --link-dest and/or --ignore-existing.
1041 - The --append option no longer updates a file that has the same size.
1043 - Fixed a bug when combining --backup and --backup-dir with --inplace:
1044 any missing backup directories are now created.
1046 - Fixed a bug when using --backup and --inplace with --whole-file or
1047 --read-batch: backup files are actually created now.
1049 - The daemon pidfile is checked and created sooner in the startup sequence.
1051 - If a daemon module's "path" value is not an absolute pathname, the code
1052 now makes it absolute internally (making it work properly).
1054 - Ensure that a temporary file always has owner-write permission while we
1055 are writing to it. This avoids problems with some network filesystems
1056 when transfering read-only files.
1058 - Any errors output about password-file reading no longer cause an error at
1059 the end of the run about a partial transfer.
1061 - The --read-batch option for protocol 30 now ensures that several more
1062 options are set correctly for the current batch file: --iconv, --acls,
1063 --xattrs, --inplace, --append, and --append-verify.
1065 - Using --only-write-batch to a daemon receiver now works properly (older
1066 versions would update some files while writing the batch).
1068 - Avoid outputting a "file has vanished" message when the file is a broken
1069 symlink and --copy-unsafe-links or --copy-dirlinks is used (the code
1070 already handled this for --copy-links).
1072 - Fixed the combination of --only-write-batch and --dry-run.
1074 - Fixed rsync's ability to remove files that are not writable by the file's
1075 owner when rsync is running as the same user.
1077 - When transferring large files, the sender's hashtable of checksums is
1078 kept at a more reasonable state of fullness (no more than 80% full) so
1079 that the scanning of the hashtable will not bog down as the number of
1084 - A new incremental-recursion algorithm is now used when rsync is talking
1085 to another 3.x version. This starts the transfer going more quickly
1086 (before all the files have been found), and requires much less memory.
1087 See the --recursive option in the manpage for some restrictions.
1089 - Lowered memory use in the non-incremental-recursion algorithm for typical
1090 option values (usually saving from 21-29 bytes per file).
1092 - The default --delete algorithm is now --delete-during when talking to a
1093 3.x rsync. This is a faster scan than using --delete-before (which is
1094 the default when talking to older rsync versions), and is compatible with
1095 the new incremental recursion mode.
1097 - Rsync now allows multiple remote-source args to be specified rather than
1098 having to rely on a special space-splitting side-effect of the remote-
1099 shell. Additional remote args must specify the same host or an empty one
1100 (e.g. empty: :file1 or ::module/file2). For example, this means that
1101 local use of brace expansion now works: rsync -av host:dir/{f1,f2} .
1103 - Added the --protect-args (-s) option, that tells rsync to send most of
1104 the command-line args at the start of the transfer rather than as args
1105 to the remote-shell command. This protects them from space-splitting,
1106 and only interprets basic wildcard special shell characters (*?[).
1108 - Added the --delete-delay option, which is a more efficient way to delete
1109 files at the end of the transfer without needing a separate delete pass.
1111 - Added the --acls (-A) option to preserve Access Control Lists. This is
1112 an improved version of the prior patch that was available, and it even
1113 supports OS X ACLs. If you need to have backward compatibility with old,
1114 ACL-patched versions of rsync, apply the acls.diff file from the patches
1117 - Added the --xattrs (-X) option to preserve extended attributes. This is
1118 an improved version of the prior patch that was available, and it even
1119 supports OS X xattrs (which includes their resource fork data). If you
1120 need to have backward compatibility with old, xattr-patched versions of
1121 rsync, apply the xattrs.diff file from the patches dir.
1123 - Added the --fake-super option that allows a non-super user to preserve
1124 all attributes of a file by using a special extended-attribute idiom.
1125 It even supports the storing of foreign ACL data on your backup server.
1126 There is also an analogous "fake super" parameter for an rsync daemon.
1128 - Added the --iconv option, which allows rsync to convert filenames from
1129 one character-set to another during the transfer. The default is to
1130 make this feature available as long as your system has iconv_open().
1131 If compilation fails, specify --disable-iconv to configure, and then
1132 rebuild. If you want rsync to perform character-set conversions by
1133 default, you can specify --enable-iconv=CONVERT_STRING with the default
1134 value for the --iconv option that you wish to use. For example,
1135 "--enable-iconv=." is a good choice. See the rsync manpage for an
1136 explanation of the --iconv option's settings.
1138 - A new daemon config parameter, "charset", lets you control the character-
1139 set that is used during an --iconv transfer to/from a daemon module. You
1140 can also set your daemon to refuse "no-iconv" if you want to force the
1141 client to use an --iconv transfer (requiring an rsync 3.x client).
1143 - Added the --skip-compress=LIST option to override the default list of
1144 file suffixes that will not be compressed when using --compress (-z).
1146 - The daemon's default for "dont compress" was extended to include:
1147 *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg
1148 The name-matching routine was also optimized to run more quickly.
1150 - The --max-delete option now outputs a warning if it skipped any file
1151 deletions, including a count of how many deletions were skipped. (Older
1152 versions just silently stopped deleting things.)
1154 - You may specify --max-delete=0 to a 3.0.0 client to request that it warn
1155 about extraneous files without deleting anything. If you're not sure
1156 what version the client is, you can use the less-obvious --max-delete=-1,
1157 as both old and new versions will treat that as the same request (though
1158 older versions don't warn).
1160 - The --hard-link option now uses less memory on both the sending and
1161 receiving side for all protocol versions. For protocol 30, the use of a
1162 hashtable on the sending side allows us to more efficiently convey to the
1163 receiver what files are linked together. This reduces the amount of data
1164 sent over the socket by a considerable margin (rather than adding more
1165 data), and limits the in-memory storage of the device+inode information
1166 to just the sending side for the new protocol 30, or to the receiving
1167 side when speaking an older protocol (note that older rsync versions kept
1168 the device+inode information on both sides).
1170 - The filter rules now support a perishable ("p") modifier that marks rules
1171 that should not have an effect in a directory that is being deleted. e.g.
1172 -f '-p .svn/' would only affect "live" .svn directories.
1174 - Rsync checks all the alternate-destination args for validity (e.g.
1175 --link-dest). This lets the user know when they specified a directory
1176 that does not exist.
1178 - If we get an ENOSYS error setting the time on a symlink, we don't
1179 complain about it anymore (for those systems that even support the
1180 setting of the modify-time on a symlink).
1182 - Protocol 30 now uses MD5 checksums instead of MD4.
1184 - Changed the --append option to not checksum the existing data in the
1185 destination file, which speeds up file appending.
1187 - Added the --append-verify option, which works like the older --append
1188 option (verifying the existing data in the destination file). For
1189 compatibility with older rsync versions, any use of --append that is
1190 talking protocol 29 or older will revert to the --append-verify method.
1192 - Added the --contimeout=SECONDS option that lets the user specify a
1193 connection timeout for rsync daemon access.
1195 - Documented and extended the support for the RSYNC_CONNECT_PROG variable
1196 that can be used to enhance the client side of a daemon connection.
1198 - Improved the dashes and double-quotes in the nroff manpage output.
1200 - Rsync now supports a lot more --no-OPTION override options.
1204 - The file-list sorting algorithm now uses a sort that keeps any same-
1205 named items in the same order as they were specified. This allows
1206 rsync to always ensure that the first of the duplicates is the one
1207 that will be included in the copy. The new sort is also faster
1208 than the glibc version of qsort() and mergesort().
1210 - Rsync now supports the transfer of 64-bit timestamps (time_t values).
1212 - Made the file-deletion code use a little less stack when recursing
1213 through a directory hierarchy of extraneous files.
1215 - Fixed a build problem with older (2.x) versions of gcc.
1217 - Added some isType() functions that make dealing with signed characters
1218 easier without forcing variables via casts.
1220 - Changed strcat/strcpy/sprintf function calls to use safer versions.
1222 - Upgraded the included popt version to 1.10.2 and improved its use of
1223 string-handling functions.
1225 - Added missing prototypes for compatibility functions from the lib dir.
1227 - Configure determines if iconv() has a const arg, allowing us to avoid a
1230 - Made the sending of some numbers more efficient for protocol 30.
1232 - Make sure that a daemon process doesn't mind if the client was weird and
1233 omitted the --server option.
1235 - There are more internal logging categories available in protocol 30 than
1236 the age-old FINFO and FERROR, including FERROR_XFER and FWARN. These new
1237 categories allow some errors and warnings to go to stderr without causing
1238 an erroneous end-of-run warning about some files not being able to be
1241 - Improved the use of "const" on pointers.
1243 - Improved J.W.'s pool_alloc routines to add a way of incrementally freeing
1244 older sections of a pool's memory.
1246 - The getaddrinfo.c compatibility code in the "lib" dir was replaced with
1247 some new code (derived from samba, derived from PostgreSQL) that has a
1248 better license than the old code.
1252 - Rsync is now licensed under the GPLv3 or later.
1254 - Rsync is now being maintained in a "git" repository instead of CVS
1255 (though the old CVS repository still exists for historical access).
1256 Several maintenance scripts were updated to work with git.
1258 - Generated files are no longer committed into the source repository. The
1259 autoconf and autoheader commands are now automatically run during the
1260 normal use of "configure" and "make". The latest dev versions of all
1261 generated files can also be copied from the samba.org web site (see the
1262 prepare-source script's fetch option).
1264 - The "patches" directory of diff files is now built from branches in the
1265 rsync git repository (branch patch/FOO creates file patches/FOO.diff).
1266 This directory is now distributed in a separate separate tar file named
1267 rsync-patches-VERSION.tar.gz instead of the main rsync-VERSION.tar.gz.
1269 - The proto.h file is now built using a simple perl script rather than a
1270 complex awk script, which proved to be more widely compatible.
1272 - When running the tests, we now put our per-test temp dirs into a sub-
1273 directory named testtmp (which is created, if missing). This allows
1274 someone to symlink the testtmp directory to another filesystem (which is
1275 useful if the build dir's filesystem does not support ACLs and xattrs,
1276 but another filesystem does).
1278 - Rsync now has a way of handling protocol-version changes during the
1279 development of a new protocol version. This causes any out-of-sync
1280 versions to speak an older protocol rather than fail in a cryptic manner.
1281 This addition makes it safer to deploy a pre-release version that may
1282 interact with the public. This new exchange of sub-version info does not
1283 interfere with the {MIN,MAX}_PROTOCOL_VERSION checking algorithm (which
1284 does not have enough range to allow the main protocol number to be
1285 incremented for every minor tweak in that happens during development).
1287 - The csprotocol.txt file was updated to mention the daemon protocol change
1288 in the 3.0.0 release.
1291 NEWS for rsync 2.6.9 (6 Nov 2006)
1292 Protocol: 29 (unchanged)
1293 Changes since 2.6.8:
1297 - If rsync is interrupted via a handled signal (such as SIGINT), it will
1298 once again clean-up its temp file from the destination dir.
1300 - Fixed an overzealous sanitizing bug in the handling of the --link-dest,
1301 --copy-dest, and --compare-dest options to a daemon without chroot: if
1302 the copy's destination dir is deeper than the top of the module's path,
1303 these options now accept a safe number of parent-dir (../) references
1304 (since these options are relative to the destination dir). The old code
1305 incorrectly chopped off all "../" prefixes for these options, no matter
1306 how deep the destination directory was in the module's hierarchy.
1308 - Fixed a bug where a deferred info/error/log message could get sent
1309 directly to the sender instead of being handled by rwrite() in the
1310 generator. This fixes an "unexpected tag 3" fatal error, and should
1311 also fix a potential problem where a deferred info/error message from
1312 the receiver might bypass the log file and get sent only to the client
1313 process. (These problems could only affect an rsync daemon that was
1316 - Fixed a bug when --inplace was combined with a --*-dest option and we
1317 update a file's data using an alternate basis file. The code now
1318 notices that it needs to copy the matching data from the basis file
1319 instead of (wrongly) assuming that it was already present in the file.
1321 - Fixed a bug where using --dry-run with a --*-dest option with a path
1322 relative to a directory that does not yet exist: the affected option
1323 gets its proper path value so that the output of the dry-run is right.
1325 - Fixed a bug in the %f logfile escape when receiving files: the
1326 destination path is now included in the output (e.g. you can now tell
1327 when a user specifies a subdir inside a module).
1329 - If the receiving side fails to create a directory, it will now skip
1330 trying to update everything that is inside that directory.
1332 - If --link-dest is specified with --checksum but without --times, rsync
1333 will now allow a hard-link to be created to a matching link-dest file
1334 even when the file's modify-time doesn't match the server's file.
1336 - The daemon now calls more timezone-using functions prior to doing a
1337 chroot. This should help some C libraries to generate proper timestamps
1338 from inside a chrooted daemon (and to not try to access /etc/timezone
1339 over and over again).
1341 - Fixed a bug in the handling of an absolute --partial-dir=ABS_PATH option:
1342 it now deletes an alternate basis file from the partial-dir that was used
1343 to successfully update a destination file.
1345 - Fixed a bug in the handling of --delete-excluded when using a per-dir
1346 merge file: the merge file is now honored on the receiving side, and
1347 only its unqualified include/exclude commands are ignored (just as is
1348 done for global include/excludes).
1350 - Fixed a recent bug where --delete was not working when transferring from
1351 the root (/) of the filesystem with --relative enabled.
1353 - Fixed a recent bug where an --exclude='*' could affect the root (/) of
1354 the filesystem with --relative enabled.
1356 - When --inplace creates a file, it is now created with owner read/write
1357 permissions (0600) instead of no permissions at all. This avoids a
1358 problem continuing a transfer that was interrupted (since --inplace
1359 will not update a file that has no write permissions).
1361 - If either --remove-source-files or --remove-sent-files is enabled and we
1362 are unable to remove the source file, rsync now outputs an error.
1364 - Fixed a bug in the daemon's "incoming chmod" rule: newly-created
1365 directories no longer get the 'F' (file) rules applied to them.
1367 - Fixed an infinite loop bug when a filter rule was rejected due to being
1370 - When the server receives a --partial-dir option from the client, it no
1371 longer runs the client-side code that adds an assumed filter rule (since
1372 the client will be sending us the rules in the usual manner, and they
1373 may have chosen to override the auto-added rule).
1377 - Added the --log-file=FILE and --log-file-format=FORMAT options. These
1378 can be used to tell any rsync to output what it is doing to a log file.
1379 They work with a client rsync, a non-daemon server rsync (see the man
1380 page for instructions), and also allows the overriding of rsyncd.conf
1381 settings when starting a daemon.
1383 - The --log-format option was renamed to be --out-format to avoid confusing
1384 it with affecting the log-file output. (The old option remains as an
1385 alias for the new to preserve backward compatibility.)
1387 - Made "log file" and "syslog facility" settable on a per-module basis in
1388 the daemon's config file.
1390 - Added the --remove-source-files option as a replacement for the (now
1391 deprecated) --remove-sent-files option. This new option removes all
1392 non-dirs from the source directories, even if the file was already
1393 up-to-date. This fixes a problem where interrupting an rsync that
1394 was using --remove-sent-files and restarting it could leave behind
1395 a file that the earlier rsync synchronized, but didn't get to remove.
1396 (The deprecated --remove-sent-files is still understood for now, and
1397 still behaves in the same way as before.)
1399 - Added the option --no-motd to suppress the message-of-the-day output
1400 from a daemon when doing a copy. (See the manpage for a caveat.)
1402 - Added a new environment variable to the pre-/post-xfer exec commands (in
1403 the daemon's config file): RSYNC_PID. This value will be the same in
1404 both the pre- and post-xfer commands, so it can be used as a unique ID
1405 if the pre-xfer command wants to cache some arg/request info for the
1410 - Did a code audit using IBM's code-checker program and made several
1411 changes, including: replacing most of the strcpy() and sprintf()
1412 calls with strlcpy(), snprintf(), and memcpy(), adding a 0-value to
1413 an enum that had been intermingling a literal 0 with the defined enum
1414 values, silencing some uninitialized memory checks, marking some
1415 functions with a "noreturn" attribute, and changing an "if" that
1416 could never succeed on some platforms into a pre-processor directive
1417 that conditionally compiles the code.
1419 - Fixed a potential bug in f_name_cmp() when both the args are a
1420 top-level "." dir (which doesn't happen in normal operations).
1422 - Changed exit_cleanup() so that it can never return instead of exit.
1423 The old code might return if it found the exit_cleanup() function
1424 was being called recursively. The new code is segmented so that
1425 any recursive calls move on to the next step of the exit-processing.
1427 - The macro WIFEXITED(stat) will now be defined if the OS didn't already
1432 - The acls.diff and xattrs.diff patches have received a bunch of work to
1433 make them much closer to being acceptable in the main distribution.
1434 The xattrs patch also has some preliminary Mac OS X and FreeBSD
1435 compatibility code that various system types to exchange extended
1438 - A new diff in the patches dir, fake-root.diff, allows rsync to
1439 maintain a backup hierarchy with full owner, group, and device info
1440 without actually running as root. It does this using a special
1441 extended attribute, so it depends on xattrs.diff (which depends on
1444 - The rsync.yo and rsyncd.conf.yo files have been updated to work
1445 better with the latest yodl 2.x releases.
1447 - Updated config.guess and config.sub to their 2006-07-02 versions.
1449 - Updated various files to include the latest FSF address and to have
1450 consistent opening comments.
1453 NEWS for rsync 2.6.8 (22 Apr 2006)
1454 Protocol: 29 (unchanged)
1455 Changes since 2.6.7:
1459 - Fixed a bug in the exclude code where an anchored exclude without any
1460 wildcards fails to match an absolute source arg, but only when --relative
1463 - Improved the I/O code for the generator to fix a potential hang when the
1464 receiver gets an EOF on the socket but the generator's select() call
1465 never indicates that the socket is writable for it to be notified about
1466 the EOF. (This can happen when using stunnel).
1468 - Fixed a problem with the file-reading code where a failed read (such as
1469 that caused by a bad sector) would not advance the file's read-position
1470 beyond the failed read's data.
1472 - Fixed a logging bug where the "log file" directive was not being honored
1473 in a single-use daemon (one spawned by a remote-shell connection or by
1476 - If rsync cannot honor the --delete option, we output an error and exit
1477 instead of silently ignoring the option.
1479 - Fixed a bug in the --link-dest code that prevented special files (such as
1480 fifos) from being linked.
1482 - The ability to hard-link symlinks and special files is now determined at
1483 configure time instead of at runtime. This fixes a bug with --link-dest
1484 creating a hard-link to a symlink's referent on a BSD system.
1488 - In daemon mode, if rsync fails to bind to the requested port, the
1489 error(s) returned by socket() and/or bind() are now logged.
1491 - When we output a fatal error, we now output the version of rsync in the
1494 - Improved the documentation for the --owner and --group options.
1496 - The rsyncstats script in "support" has an improved line-parsing regex
1497 that is easier to read and also makes it to parse syslog-generated lines.
1499 - A new script in "support": file-attr-restore, can be used to restore the
1500 attributes of a file-set (the permissions, ownership, and group info)
1501 taken from the cached output of a "find ARG... -ls" command.
1505 - Removed the unused function write_int_named(), the unused variable
1506 io_read_phase, and the rarely used variable io_write_phase. This also
1507 elides the confusing 'phase "unknown"' part of one error message.
1509 - Removed two unused configure checks and two related (also unused)
1510 compatibility functions.
1512 - The xattrs.diff patch received a security fix that prevents a potential
1513 buffer overflow in the receive_xattr() code.
1515 - The acls.diff patch has been improved quite a bit, with more to come.
1517 - A new patch was added: log-file.diff. This contains an early version of
1518 a future option, --log-file=FILE, that will allow any rsync to log its
1519 actions to a file (something that only a daemon supports at present).
1522 NEWS for rsync 2.6.7 (11 Mar 2006)
1523 Protocol: 29 (unchanged)
1524 Changes since 2.6.6:
1528 - The letter 'D' in the itemized output was being used for both devices
1529 (character or block) as well as other special files (such as fifos and
1530 named sockets). This has changed to separate non-device special files
1531 under the 'S' designation (e.g. "cS+++++++ path/fifo"). See also the
1532 "--specials" option, below.
1534 - The way rsync escapes unreadable characters has changed. First, rsync
1535 now has support for recognizing valid multibyte character sequences in
1536 your current locale, allowing it to escape fewer characters than before
1537 for a locale such as UTF-8. Second, it now uses an escape idiom of
1538 "\#123", which is the literal string "\#" followed by exactly 3 octal
1539 digits. Rsync no longer doubles a backslash character in a filename
1540 (e.g. it used to output "foo\\bar" when copying "foo\bar") -- now it only
1541 escapes a backslash that is followed by a hash-sign and 3 digits (0-9)
1542 (e.g. it will output "foo\#134#789" when copying "foo\#789"). See also
1543 the --8-bit-output (-8) option, mentioned below.
1545 Script writers: the local rsync is the one that outputs escaped names,
1546 so if you need to support unescaping of filenames for older rsyncs, I'd
1547 suggest that you parse the output of "rsync --version" and only use the
1548 old unescaping rules for 2.6.5 and 2.6.6.
1552 - Fixed a really old bug that caused --checksum (-c) to checksum all the
1553 files encountered during the delete scan (ouch).
1555 - Fixed a potential hang in a remote generator: when the receiver gets a
1556 read-error on the socket, it now signals the generator about this so that
1557 the generator does not try to send any of the terminating error messages
1558 to the client (avoiding a potential hang in some setups).
1560 - Made hard-links work with symlinks and devices again.
1562 - If the sender gets an early EOF reading a source file, we propagate this
1563 error to the receiver so that it can discard the file and try requesting
1564 it again (which is the existing behavior for other kinds of read errors).
1566 - If a device-file/special-file changes permissions, rsync now updates the
1567 permissions without recreating the file.
1569 - If the user specifies a remote-host for both the source and destination,
1570 we now output a syntax error rather than trying to open the destination
1571 hostspec as a filename.
1573 - When --inplace creates a new destination file, rsync now creates it with
1574 permissions 0600 instead of 0000 -- this makes restarting possible when
1575 the transfer gets interrupted in the middle of sending a new file.
1577 - Reject the combination of --inplace and --sparse since the sparse-output
1578 algorithm doesn't work when overwriting existing data.
1580 - Fixed the directory name in the error that is output when pop_dir()
1583 - Really fixed the parsing of a "!" entry in .cvsignore files this time.
1585 - If the generator gets a stat() error on a file, output it (this used to
1586 require at least -vv for the error to be seen).
1588 - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
1589 the exit status properly and generate a better error.
1591 - Fixed some glitches in the double-verbose output when using --copy-dest,
1592 --link-dest, or --compare-dest. Also improved how the verbose output
1593 handles hard-links (within the transfer) that had an up-to-date alternate
1594 "dest" file, and copied files (via --copy-dest).
1596 - Fixed the matching of the dont-compress items (e.g. *.gz) against files
1597 that have a path component containing a slash.
1599 - If the code reading a filter/exclude file gets an EINTR error, rsync now
1600 clears the error flag on the file handle so it can keep on reading.
1602 - If --relative is active, the sending side cleans up trailing "/" or "/."
1603 suffixes to avoid triggering a bug in older rsync versions. Also, we now
1604 reject a ".." dir if it would be sent as a relative dir.
1606 - If a non-directory is in the way of a directory and rsync is run with
1607 --dry-run and --delete, rsync no longer complains about not being able
1608 to opendir() the not-yet present directory.
1610 - When --list-only is used and a non-existent local destination dir was
1611 also specified as a destination, rsync no longer generates a warning
1612 about being unable to create the missing directory.
1614 - Fixed some problems with --relative --no-implied-dirs when the
1615 destination directory did not yet exist: we can now create a symlink or
1616 device when it is the first thing in the missing dir, and --fuzzy no
1617 longer complains about being unable to open the missing dir.
1619 - Fixed a bug where the --copy-links option would not affect implied
1620 directories without --copy-unsafe-links (see --relative).
1622 - Got rid of the need for --force to be used in some circumstances with
1623 --delete-after (making it consistent with --delete-before/-during).
1625 - Rsync now ignores the SIGXFSZ signal, just in case your OS sends this
1626 when a file is too large (rsync handles the write error).
1628 - Fixed a bug in the Proxy-Authorization header's base64-encoded value: it
1629 was not properly padded with trailing '=' chars. This only affects a
1630 user that need to use a password-authenticated proxy for an outgoing
1631 daemon-rsync connection.
1633 - If we're transferring an empty directory to a new name, rsync no longer
1634 forces S_IWUSR if it wasn't already set, nor does it accidentally leave
1637 - Fixed a bug in the debug output (-vvvvv) that could mention the wrong
1638 checksum for the current file offset.
1640 - Rsync no longer allows a single directory to be copied over a non-
1641 directory destination arg.
1645 - Added the --append option that makes rsync append data onto files that
1646 are longer on the source than the destination (this includes new files).
1648 - Added the --min-size=SIZE option to exclude small files from the
1651 - Added the --compress-level option to allow you to set how aggressive
1652 rsync's compression should be (this option implies --compress).
1654 - Enhanced the parsing of the SIZE value for --min-size and --max-size to
1655 allow easy entry of multiples of 1000 (instead of just multiples of 1024)
1656 and off-by-one values too (e.g. --max-size=8mb-1).
1658 - Added the --8-bit-output (-8) option, which tells rsync to avoid escaping
1659 high-bit characters that it thinks are unreadable in the current locale.
1661 - The new option --human-readable (-h) changes the output of --progress,
1662 --stats, and the end-of-run summary to be easier to read. If repeated,
1663 the units become powers of 1024 instead of powers of 1000. (The old
1664 meaning of -h, as a shorthand for --help, still works as long as you
1665 just use it on its own, as in "rsync -h".)
1667 - If lutimes() and/or lchmod() are around, use them to allow the
1668 preservation of attributes on symlinks.
1670 - The --link-dest option now affects symlinks and devices (when possible).
1672 - Added two config items to the rsyncd.conf parsing: "pre-xfer exec" and
1673 "post-xfer exec". These allow a command to be specified on a per-module
1674 basis that will be run before and/or after a daemon-mode transfer. (See
1675 the man page for a list of the environment variables that are set with
1676 information about the transfer.)
1678 - When using the --relative option, you can now insert a dot dir in
1679 the source path to indicate where the replication of the source dirs
1680 should start. For example, if you specify a source path of
1681 rsync://host/module/foo/bar/./baz/dir with -R, rsync will now only
1682 replicate the "baz/dir" part of the source path (note: a trailing
1683 dot dir is unaffected unless it also has a trailing slash).
1685 - Added some new --no-FOO options that make it easier to override unwanted
1686 implied or default options. For example, "-a --no-o" (aka "--archive
1687 --no-owner") can be used to turn off the preservation of file ownership
1688 that is implied by -a.
1690 - Added the --chmod=MODE option that allows the destination permissions to
1691 be changed from the source permissions. E.g. --chmod=g+w,o-rwx
1693 - Added the "incoming chmod" and "outgoing chmod" daemon options that allow
1694 a module to specify what permissions changes should be applied to all
1695 files copied to and from the daemon.
1697 - Allow the --temp-dir option to be specified when starting a daemon, which
1698 sets the default temporary directory for incoming files.
1700 - If --delete is combined with --dirs without --recursive, rsync will now
1701 delete in any directory whose content is being synchronized.
1703 - If --backup is combined with --delete without --backup-dir (and without
1704 --delete-excluded), we add a "protect" filter-rule to ensure that files
1705 with the backup suffix are not deleted.
1707 - The file-count stats that are output by --progress were improved to
1708 better indicate what the numbers mean. For instance, the output:
1709 "(xfer#5, to-check=8383/9999)" indicates that this was the fifth file
1710 to be transferred, and we still need to check 8383 more files out of
1713 - The include/exclude code now allows a dir/*** directive (with 3 trailing
1714 stars) to match both the dir itself as well as all the content below the
1715 dir (dir/** would not match the dir).
1717 - Added the --prune-empty-dirs (-m) option that makes the receiving rsync
1718 discard empty chains of directories from the file-list. This makes it
1719 easier to selectively copy files from a source hierarchy and end up with
1720 just the directories needed to hold the resulting files.
1722 - If the --itemize-changes (-i) option is repeated, rsync now includes
1723 unchanged files in the itemized output (similar to -vv, but without all
1724 the other verbose messages that can get in the way). Of course, the
1725 client must be version 2.6.7 for this to work, but the remote rsync only
1726 needs to be 2.6.7 if you're pushing files.
1728 - Added the --specials option to tell rsync to copy non-device special
1729 files (which rsync now attempts even as a normal user). The --devices
1730 option now requests the copying of just devices (character and block).
1731 The -D option still requests both (e.g. --devices and --specials), -a
1732 still implies -D, and non-root users still get a silent downgrade that
1733 omits device copying.
1735 - Added the --super option to make the receiver always attempt super-user
1736 activities. This is useful for systems that allow things such as devices
1737 to be created or ownership to be set without being UID 0, and is also
1738 useful for someone who wants to ensure that errors will be output if the
1739 receiving rsync isn't being run as root.
1741 - Added the --sockopts option for those few who want to customize the TCP
1742 options used to contact a daemon rsync.
1744 - Added a way for the --temp-dir option to be combined with a partial-dir
1745 setting that lets rsync avoid non-atomic updates (for those times when
1746 --temp-dir is not being used because space is tight).
1748 - A new support script, files-to-excludes, will transform a list of files
1749 into a set of include/exclude directives that will copy those files.
1751 - A new option, --executability (-E) can be used to preserve just the
1752 execute bit on files, for those times when using the --perms option is
1755 - The daemon now logs each connection and also each module-list request
1758 - New log-format options: %M (modtime), %U (uid), %G (gid), and %B
1759 (permission bits, e.g. "rwxr-xrwt").
1761 - The --dry-run option no longer forces the enabling of --verbose.
1763 - The --remove-sent-files option now does a better job of incrementally
1764 removing the sent files on the sending side (older versions tended to
1765 clump up all the removals at the end).
1767 - A daemon now supersedes its minimal SIGCHLD handler with the standard
1768 PID-remembering version after forking. This ensures that the generator
1769 can get the child-exit status from the receiver.
1771 - Use of the --bwlimit option no longer interferes with the remote rsync
1772 sending error messages about invalid/refused options.
1774 - Rsync no longer returns a usage error when used with one local source arg
1775 and no destination: this now implies the --list-only option, just like
1776 the comparable situation with a remote source arg.
1778 - Added the --copy-dirlinks option, a more limited version of --copy-links.
1780 - Various documentation improvements, including: a better synopsis, some
1781 improved examples, a better discussion of the presence and absence of
1782 --perms (including how it interacts with the new --executability and
1783 --chmod options), an extended discussion of --temp-dir, an improved
1784 discussion of --partial-dir, a better description of rsync's pattern
1785 matching characters, an improved --no-implied-dirs section, and the
1786 documenting of what the --stats option outputs.
1788 - Various new and updated diffs in the patches dir, including: acls.diff,
1789 xattrs.diff, atimes.diff, detect-renamed.diff, and slp.diff.
1793 - We now use sigaction() and sigprocmask() if possible, and fall back on
1794 signal() if not. Using sigprocmask() ensures that rsync enables all the
1795 signals that it needs, just in case it was started in a masked state.
1797 - Some buffer sizes were expanded a bit, particularly on systems where
1798 MAXPATHLEN is overly small (e.g. cygwin).
1800 - If io_printf() tries to format more data than fits in the buffer, exit
1801 with an error instead of transmitting a truncated buffer.
1803 - If a va_copy macro is defined, lib/snprintf.c will use it when defining
1806 - Reduced the amount of stack memory needed for each level of directory
1807 recursion by nearly MAXPATHLEN bytes.
1809 - The wildmatch function was extended to allow an array of strings to be
1810 supplied as the string to match. This allows the exclude code to do less
1813 - Got rid of the safe_fname() function (and all the myriad calls) and
1814 replaced it with a new function in the log.c code that filters all the
1815 output going to the terminal.
1817 - Unified the f_name() and the f_name_to() functions.
1819 - Improved the hash-table code the sender uses to handle checksums to make
1820 it use slightly less memory and run just a little faster.
1824 - The diffs in the patches dir now require "patch -p1 <DIFF" instead of
1825 the previous -p0. Also, the version included in the release tar now
1826 affect generated files (e.g. configure, rsync.1, proto.h, etc.), so
1827 it is no longer necessary to run autoconf and/or yodl unless you're
1828 applying a patch that was checked out from CVS.
1830 - Several diffs in the patches dir now use the proper --enable-FOO
1831 configure option instead of --with-FOO to turn on the inclusion of
1832 the newly patched feature.
1834 - There is a new script, "prepare-source" than can be used to update the
1835 various generated files (proto.h, configure, etc.) even before configure
1836 has created the Makefile (this is mainly useful when patching the source
1837 with a patch that doesn't affect generated files).
1839 - The testsuite now sets HOME so that it won't be affected by a file such
1843 NEWS for rsync 2.6.6 (28 Jul 2005)
1844 Protocol: 29 (unchanged)
1845 Changes since 2.6.5:
1849 - The zlib code was upgraded to version 1.2.3 in order to make it more
1850 secure. While the widely-publicized security problem in zlib 1.2.2 did
1851 not affect rsync, another security problem surfaced that affects rsync's
1856 - The setting of flist->high in clean_flist() was wrong for an empty list.
1857 This could cause flist_find() to crash in certain rare circumstances
1858 (e.g. if just the right directory setup was around when --fuzzy was
1859 combined with --link-dest).
1861 - The outputting of hard-linked files when verbosity was > 1 was not right:
1862 (1) Without -i it would output the name of each hard-linked file as
1863 though it had been changed; it now outputs a "is hard linked" message for
1864 the file. (2) With -i it would output all dots for the unchanged
1865 attributes of a hard-link; it now changes those dots to spaces, as is
1866 done for other totally unchanged items.
1868 - When backing up a changed symlink or device, get rid of any old backup
1869 item so that we don't get an "already exists" error.
1871 - A couple places that were comparing a local and a remote modification-
1872 time were not honoring the --modify-window option.
1874 - Fixed a bug where the 'p' (permissions) itemized-changes flag might get
1875 set too often (if some non-significant mode bits differed).
1877 - Fixed a really old, minor bug that could cause rsync to warn about being
1878 unable to mkdir() a path that ends in "/." because it just created the
1879 directory (required --relative, --no-implied-dirs, a source path that
1880 ended in either a trailing slash or a trailing "/.", and a non-existing
1881 destination dir to tickle the bug in a recent version).
1885 - Made the "max verbosity" setting in the rsyncd.conf file settable on a
1886 per-module basis (which now matches the documentation).
1888 - The support/rrsync script has been upgraded to verify the args of options
1889 that take args (instead of rejecting any such options). The script was
1890 also changed to try to be more secure and to fix a problem in the parsing
1891 of a pull operation that has multiple sources.
1893 - Improved the documentation that explains the difference between a
1894 normal daemon transfer and a daemon-over remote-shell transfer.
1896 - Some of the diffs supplied in the patches dir were fixed and/or
1901 - Made configure define NOBODY_USER (currently hard-wired to "nobody") and
1902 NOBODY_GROUP (set to either "nobody" or "nogroup" depending on what we
1903 find in the /etc/group file).
1905 - Added a test to the test suite, itemized.test, that tests the output of
1906 -i (log-format w/%i) and some double-verbose messages.
1909 NEWS for rsync 2.6.5 (1 Jun 2005)
1910 Protocol: 29 (unchanged)
1911 Changes since 2.6.4:
1915 - Non-printable chars in filenames are now output using backslash-
1916 escaped characters rather than '?'s. Any non-printable character is
1917 output using 3 digits of octal (e.g. "\n" -> "\012"), and a backslash
1918 is now output as "\\". Rsync also uses your locale setting, which
1919 can make it treat fewer high-bit characters as non-printable.
1921 - If rsync received an empty file-list when pulling files, it would
1922 output a "nothing to do" message and exit with a 0 (success) exit
1923 status, even if the remote rsync returned an error (it did not do
1924 this under the same conditions when pushing files). This was changed
1925 to make the pulling behavior the same as the pushing behavior: we
1926 now do the normal end-of-run outputting (depending on options) and
1927 exit with the appropriate exit status.
1931 - A crash bug was fixed when a daemon had its "path" set to "/", did
1932 not have chroot enabled, and used some anchored excludes in the
1935 - Fixed a bug in the transfer of a single file when -H is specified
1936 (rsync would either infinite loop or perhaps crash).
1938 - Fixed a case where the generator might try (and fail) to tweak the
1939 write-permissions of a read-only directory in list-only mode (this
1940 only caused an annoying warning message).
1942 - If --compare-dest or --link-dest uses a locally-copied file as the
1943 basis for an updated version, log this better when --verbose or -i
1946 - Fixed the accidental disabling of --backup during the --delete-after
1949 - Restored the ability to use the --address option in client mode (in
1950 addition to its use in daemon mode).
1952 - Make sure that some temporary progress information from the delete
1953 processing does not get left on the screen when it is followed by a
1956 - When --existing skips a directory with extra verbosity, refer to it
1957 as a "directory", not a "file".
1959 - When transferring a single file to a different-named file, any
1960 generator messages that are source-file related no longer refer to
1961 the file by the destination filename.
1963 - Fixed a bug where hard-linking a group of files might fail if the
1964 generator hasn't created a needed destination directory yet.
1966 - Fixed a bug where a hard-linked group of files that is newly-linked
1967 to a file in a --link-dest dir doesn't link the files from the rest
1970 - When deleting files with the --one-file-system (-x) option set, rsync
1971 no longer tries to remove files from inside a mount-point on the
1972 receiving side. Also, we don't complain about being unable to remove
1973 the mount-point dir.
1975 - Fixed a compatibility problem when using --cvs-ignore (-C) and
1976 sending files to an older rsync without using --delete.
1978 - Make sure that a "- !" or "+ !" include/exclude pattern does not
1979 trigger the list-clearing action that is reserved for "!".
1981 - Avoid a timeout in the generator when the sender/receiver aren't
1982 handling the generator's checksum output quickly enough.
1984 - Fixed the omission of some directories in the delete processing when
1985 --relative (-R) was combined with a source path that had a trailing
1988 - Fixed a case where rsync would erroneously delete some files and then
1989 re-transfer them when the options --relative (-R) and --recursive
1990 (-r) were both enabled (along with --delete) and a source path had a
1993 - Make sure that --max-size doesn't affect a device or a symlink.
1995 - Make sure that a system with a really small MAXPATHLEN does not cause
1996 the buffers in readfd_unbuffered() to be too small to receive normal
1997 messages. (This mainly affected Cygwin.)
1999 - If a source pathname ends with a filename of "..", treat it as if
2000 "../" had been specified (so that we don't copy files to the parent
2001 dir of the destination).
2003 - If --delete is combined with a file-listing rsync command (i.e. no
2004 transfer is happening), avoid outputting a warning that we couldn't
2007 - If --stats is specified with --delete-after, ensure that all the
2008 "deleting" messages are output before the statistics.
2010 - Improved one "if" in the deletion code that was only checking errno
2011 for ENOTEMPTY when it should have also been checking for EEXIST (for
2012 compatibility with OS variations).
2016 - Added the --only-write-batch=FILE option that may be used (instead
2017 of --write-batch=FILE) to create a batch file without doing any
2018 actual updating of the destination. This allows you to divert all
2019 the file-updating data away from a slow data link (as long as you
2020 are pushing the data to the remote server when creating the batch).
2022 - When the generator is taking a long time to fill up its output buffer
2023 (e.g. if the transferred files are few, small, or missing), it now
2024 periodically flushes the output buffer so that the sender/receiver
2025 can get started on the files sooner rather than later.
2027 - Improved the keep-alive code to handle a long silence between the
2028 sender and the receiver that can occur when the sender is receiving
2029 the checksum data for a large file.
2031 - Improved the auth-errors that are logged by the daemon to include
2032 some information on why the authorization failed: wrong user,
2033 password mismatch, etc. (The client-visible message is unchanged!)
2035 - Improved the client's handling of an "@ERROR" from a daemon so that
2036 it does not complain about an unexpectedly closed socket (since we
2037 really did expect the socket to close).
2039 - If the daemon can't open the log-file specified in rsyncd.conf, fall
2040 back to using syslog and log an appropriate warning. This is better
2041 than what was typically a totally silent (and fatal) failure (since a
2042 daemon is not usually run with the --no-detach option that was
2043 necessary to see the error on stderr).
2045 - The man pages now consistently refer to an rsync daemon as a "daemon"
2046 instead of a "server" (to distinguish it from the server process in a
2047 non-daemon transfer).
2049 - Made a small change to the rrsync script (restricted rsync -- in the
2050 support dir) to make a read-only server reject all --remove-* options
2051 when sending files (to future-proof it against the possibility of
2052 other similar options being added at some point).
2056 - Rsync now calls setlocale(LC_CTYPE, ""). This enables isprint() to
2057 better discern which filename characters need to be escaped in
2058 messages (which should result in fewer escaped characters in some
2061 - Improved the naming of the log-file open/reopen/close functions.
2063 - Removed some protocol-compatibility code that was only needed to help
2064 someone running a pre-release of 2.6.4.
2068 - Added configure option "--disable-locale" to disable any use of
2069 setlocale() in the binary.
2071 - Fixed a bug in the SUPPORT{,_HARD}_LINKS #defines which prevented
2072 rsync from being built without symlink or hard-link support.
2074 - Only #define HAVE_REMSH if it is going to be set to 1.
2076 - Configure now disables the use of mkstemp() under HP-UX (since they
2077 refuse to fix its broken handling of large files).
2079 - Configure now explicitly checks for the lseek64() function so that
2080 the code can use HAVE_LSEEK64 instead of inferring lseek64()'s
2081 presence based on the presence of the off64_t type.
2083 - Configure no longer mentions the change in the default remote-shell
2084 (from rsh to ssh) that occurred for the 2.6.0 release.
2086 - Some minor enhancements to the test scripts.
2088 - Added a few new *.diff files to the patches dir, including a patch
2089 that enables the optional copying of extended attributes.
2092 NEWS for rsync 2.6.4 (30 March 2005)
2093 Protocol: 29 (changed)
2094 Changes since 2.6.3:
2098 - When rsync deletes a directory and outputs a verbose message about
2099 it, it now appends a trailing slash to the name instead of (only
2100 sometimes) outputting a preceding "directory " string.
2102 - The --stats output will contain file-list time-statistics if both
2103 sides are 2.6.4, or if the local side is 2.6.4 and the files are
2104 being pushed (since the stats come from the sending side).
2105 (Requires protocol 29 for a pull.)
2107 - The "%o" (operation) log-format escape now has a third value (besides
2108 "send" and "recv"): "del." (with trailing dot to make it 4 chars).
2109 This changes the way deletions are logged in the daemon's log file.
2111 - When the --log-format option is combined with --verbose, rsync now
2112 avoids outputting the name of the file twice in most circumstances.
2113 As long as the --log-format item does not refer to any post-transfer
2114 items (such as %b or %c), the --log-format message is output prior to
2115 the transfer, so --verbose is now the equivalent of a --log-format of
2116 '%n%L' (which outputs the name and any link info). If the log output
2117 must occur after the transfer to be complete, the only time the name
2118 is also output prior to the transfer is when --progress was specified
2119 (so that the name will precede the progress stats, and the full
2120 --log-format output will come after).
2122 - Non-printable characters in filenames are replaced with a '?' to
2123 avoid corrupting the screen or generating empty lines in the output.
2127 - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
2128 was only treating it as a special token in an rsync include/exclude
2131 - The combination of --verbose and --dry-run now mentions the full list
2132 of changes that would be output without --dry-run.
2134 - Avoid a mkdir warning when removing a directory in the destination
2135 that already exists in the --backup-dir.
2137 - An OS that has a binary mode for its files (such as cygwin) needed
2138 setmode(fd, O_BINARY) called on the temp-file we opened with
2139 mkstemp(). (Fix derived from cygwin's 2.6.3 rsync package.)
2141 - Fixed a potential hang when verbosity is high, the client side is
2142 the sender, and the file-list is large.
2144 - Fixed a potential protocol-corrupting bug where the generator could
2145 merge a message from the receiver into the middle of a multiplexed
2146 packet of data if only part of that data had been written out to the
2147 socket when the message from the generator arrived.
2149 - We now check if the OS doesn't support using mknod() for creating
2150 FIFOs and sockets, and compile-in some compatibility code using
2151 mkfifo() and socket() when necessary.
2153 - Fixed an off-by-one error in the handling of --max-delete=N. Also,
2154 if the --max-delete limit is exceeded during a run, we now output a
2155 warning about this at the end of the run and exit with a new error
2158 - One place in the code wasn't checking if fork() failed.
2160 - The "ignore nonreadable" daemon parameter used to erroneously affect
2161 readable symlinks that pointed to a non-existent file.
2163 - If the OS does not have lchown() and a chown() of a symlink will
2164 affect the referent of a symlink (as it should), we no longer try
2165 to set the user and group of a symlink.
2167 - The generator now properly runs the hard-link loop and the dir-time
2168 rewriting loop after we're sure that the redo phase is complete.
2170 - When --backup was specified with --partial-dir=DIR, where DIR is a
2171 relative path, the backup code was erroneously trying to backup a
2172 file that was put into the partial-dir.
2174 - If a file gets resent in a single transfer and the --backup option is
2175 enabled along with --inplace, rsync no longer performs a duplicate
2176 backup (it used to overwrite the first backup with the failed file).
2178 - One call to flush_write_file() was not being checked for an error.
2180 - The --no-relative option was not being sent from the client to a
2183 - If an rsync daemon specified "dont compress = ..." for a file and the
2184 client tried to specify --compress, the libz code was not handling a
2185 compression level of 0 properly. This could cause a transfer failure
2186 if the block-size for a file was large enough (e.g. rsync might have
2187 exited with an error for large files).
2189 - Fixed a bug that would sometimes surface when using --compress and
2190 sending a file with a block-size larger than 64K (either manually
2191 specified, or computed due to the file being really large). Prior
2192 versions of rsync would sometimes fail to decompress the data
2193 properly, and thus the transferred file would fail its verification.
2195 - If a daemon can't open the specified log file (i.e. syslog is not
2196 being used), die without crashing. We also output an error about
2197 the failure on stderr (which will only be seen if --no-detach was
2198 specified) and exit with a new error code (6).
2200 - A local transfer no longer duplicates all its include/exclude options
2201 (since the forked process already has a copy of the exclude list,
2202 there's no need to send them a set of duplicates).
2204 - The output of the items that are being updated by the generator (dirs,
2205 symlinks, devices) is now intermingled in the proper order with the
2206 output from the items that the receiver is updating (regular files)
2207 when pulling. This misordering was particularly bad when --progress
2208 was specified. (Requires protocol 29.)
2210 - When --timeout is specified, lulls that occur in the transfer while
2211 the generator is doing work that does not generate socket traffic
2212 (looking for changed files, deleting files, doing directory-time
2213 touch-ups, etc.) will cause a new keep-alive packet to be sent that
2214 should keep the transfer going as long as the generator continues to
2215 make progress. (Requires protocol 29.)
2217 - The stat size of a device is not added to the total file size of the
2218 items in the transfer (the size might be undefined on some OSes).
2220 - Fixed a problem with refused-option messages sometimes not making it
2221 back to the client side when a remote --files-from was in effect and
2222 the daemon was the receiver.
2224 - The --compare-dest option was not updating a file that differed in
2225 (the preserved) attributes from the version in the compare-dest DIR.
2227 - When rsync is copying files into a write-protected directory, fixed
2228 the change-report output for the directory so that we don't report
2229 an identical directory as changed.
2233 - Rsync now supports popt's option aliases, which means that you can
2234 use /etc/popt and/or ~/.popt to create your own option aliases.
2236 - Added the --delete-during (--del) option which will delete files
2237 from the receiving side incrementally as each directory in the
2238 transfer is being processed. This makes it more efficient than the
2239 default, before-the-transfer behavior, which is now also available as
2240 --delete-before (and is still the default --delete-WHEN option that
2241 will be chosen if --delete or --delete-excluded is specified without
2242 a --delete-WHEN choice). All the --del* options infer --delete, so
2243 an rsync daemon that refuses "delete" will still refuse to allow any
2244 file-deleting options (including the new --remove-sent-files option).
2246 - All the --delete-WHEN options are now more memory efficient:
2247 Previously an duplicate set of file-list objects was created on the
2248 receiving side for the entire destination hierarchy. The new
2249 algorithm only creates one directory of objects at a time (for files
2250 inside the transfer).
2252 - Added the --copy-dest option, which works like --link-dest except
2253 that it locally copies identical files instead of hard-linking them.
2255 - Added support for specifying multiple --compare-dest, --copy-dest, or
2256 --link-dest options, but only of a single type. (Promoted from the
2257 patches dir and enhanced.) (Requires protocol 29.)
2259 - Added the --max-size option. (Promoted from the patches dir.)
2261 - The daemon-mode options are now separated from the normal rsync
2262 options so that they can't be mixed together. This makes it
2263 impossible to start a daemon that has improper default option values
2264 (which could cause problems when a client connects, such as hanging
2267 - The --bwlimit option may now be used in combination with --daemon
2268 to specify both a default value for the daemon side and a value
2269 that cannot be exceeded by a user-specified --bwlimit option.
2271 - Added the "port" parameter to the rsyncd.conf file. (Promoted from
2272 the patches dir.) Also added "address". The command-line options
2273 take precedence over a config-file option, as expected.
2275 - In _exit_cleanup(): when we are exiting with a partially-received
2276 file, we now flush any data in the write-cache before closing the
2279 - The --inplace support was enhanced to work with --compare-dest,
2280 --link-dest, and (the new) --copy-dest options. (Requires protocol
2283 - Added the --dirs (-d) option for an easier way to copy directories
2284 without recursion. Any directories that are encountered are created
2285 on the destination. Specifying a directory with a trailing slash
2286 copies its immediate contents to the destination.
2288 - The --files-from option now implies --dirs (-d).
2290 - Added the --list-only option, which is mainly a way for the client to
2291 put the server into listing mode without needing to resort to any
2292 internal option kluges (e.g. the age-old use of "-r --exclude="/*/*"
2293 for a non-recursive listing). This option is used automatically
2294 (behind the scenes) when a modern rsync speaks to a modern daemon,
2295 but may also be specified manually if you want to force the use of
2296 the --list-only option over a remote-shell connection.
2298 - Added the --omit-dir-times (-O) option, which will avoid updating
2299 the modified time for directories when --times was specified. This
2300 option will avoid an extra pass through the file-list at the end of
2301 the transfer (to tweak all the directory times), which may provide
2302 an appreciable speedup for a really large transfer. (Promoted from
2305 - Added the --filter (-f) option and its helper option, -F. Filter
2306 rules are an extension to the existing include/exclude handling
2307 that also supports nested filter files as well as per-directory
2308 filter files (like .cvsignore, but with full filter-rule parsing).
2309 This new option was chosen in order to ensure that all existing
2310 include/exclude processing remained 100% compatible with older
2311 versions. Protocol 29 is needed for full filter-rule support, but
2312 backward-compatible rules work with earlier protocol versions.
2313 (Promoted from the patches dir and enhanced.)
2315 - Added the --delay-updates option that puts all updated files into
2316 a temporary directory (by default ".~tmp~", but settable via the
2317 --partial-dir=DIR option) until the end of the transfer. This
2318 makes the updates a little more atomic for a large transfer.
2320 - If rsync is put into the background, any output from --progress is
2323 - Documented the "max verbosity" setting for rsyncd.conf. (This
2324 setting was added a couple releases ago, but left undocumented.)
2326 - The sender and the generator now double-check the file-list index
2327 they are given, and refuse to try to do a file transfer on a
2328 non-file index (since that would indicate that something had gone
2331 - Added the --itemize-changes (-i) option, which is a way to output a
2332 more detailed list of what files changed and in what way. The effect
2333 is the same as specifying a --log-format of "%i %n%L" (see both the
2334 rsync and rsyncd.conf manpages). Works with --dry-run too.
2336 - Added the --fuzzy (-y) option, which attempts to find a basis file
2337 for a file that is being created from scratch. The current algorithm
2338 only looks in the destination directory for the created file, but it
2339 does attempt to find a match based on size/mod-time (in case the file
2340 was renamed with no other changes) as well as based on a fuzzy
2341 name-matching algorithm. This option requires protocol 29 because it
2342 needs the new file-sorting order. (Promoted from patches dir and
2343 enhanced.) (Requires protocol 29.)
2345 - Added the --remove-sent-files option, which lets you move files
2348 - The hostname in HOST:PATH or HOST::PATH may now be an IPv6 literal
2349 enclosed in '[' and ']' (e.g. "[::1]"). (We already allowed IPv6
2350 literals in the rsync://HOST:PORT/PATH format.)
2352 - When rsync recurses to build the file list, it no longer keeps open
2353 one or more directory handles from the dir's parent dirs.
2355 - When building under windows, the default for --daemon is now to
2356 avoid detaching, requiring the new --detach option to force rsync
2359 - The --dry-run option can now be combined with either --write-batch or
2360 --read-batch, allowing you to run a do-nothing test command to see
2361 what would happen without --dry-run.
2363 - The daemon's "read only" config item now sets an internal read_only
2364 variable that makes extra sure that no write/delete calls on the
2365 read-only side can succeed.
2367 - The log-format % escapes can now have a numeric field width in
2368 between the % and the escape letter (e.g. "%-40n %08p").
2370 - Improved the option descriptions in the --help text.
2374 - Added atomic-rsync to the support dir: a perl script that will
2375 transfer some files using rsync, and then move the updated files into
2376 place all at once at the end of the transfer. Only works when
2377 pulling, and uses --link-dest and a parallel hierarchy of files to
2380 - Added mnt-excl to the support dir: a perl script that takes the
2381 /proc/mounts file and translates it into a set of excludes that will
2382 exclude all mount points (even mapped mounts to the same disk). The
2383 excludes are made relative to the specified source dir and properly
2386 - Added savetransfer.c to the support dir: a C program that can make
2387 a copy of all the data that flows over the wire. This lets you test
2388 for data corruption (by saving the data on both the sending side and
2389 the receiving side) and provides one way to debug a protocol error.
2391 - Added rrsync to the support dir: this is an updated version of Joe
2392 Smith's restricted rsync perl script. This helps to ensure that only
2393 certain rsync commands can be run by an ssh invocation.
2397 - Added better checking of the checksum-header values that come over
2400 - Merged a variety of file-deleting functions into a single function so
2401 that it is easier to maintain.
2403 - Improved the type of some variables (particularly blocksize vars) for
2404 consistency and proper size.
2406 - Got rid of the uint64 type (which we didn't need).
2408 - Use a slightly more compatible set of core #include directives.
2410 - Defined int32 in a way that ensures that the build dies if we can't
2411 find a variable with at least 32 bits.
2413 PROTOCOL DIFFERENCES FOR VERSION 29:
2415 - A 16-bit flag-word is transmitted after every file-list index. This
2416 indicates what is changing between the sender and the receiver. The
2417 generator now transmits an index and a flag-word to indicate when
2418 dirs and symlinks have changed (instead of producing a message),
2419 which makes the outputting of the information more consistent and
2420 less prone to screen corruption (because the local receiver/sender is
2421 now outputting all the file-change info messages).
2423 - If a file is being hard-linked, the ITEM_XNAME_FOLLOWS bit is enabled
2424 in the flag-word and the name of the file that was linked immediately
2425 follows in vstring format (see below).
2427 - If a file is being transferred with an alternate-basis file, the
2428 ITEM_BASIS_TYPE_FOLLOWS bit is enabled in the flag-word and a single
2429 byte follows, indicating what type of basis file was chosen. If that
2430 indicates that a fuzzy-match was selected, the ITEM_XNAME_FOLLOWS bit
2431 is set in the flag-word and the name of the match in vstring format
2432 follows the basis byte. A vstring is a variable length string that
2433 has its size written prior to the string, and no terminating null.
2434 If the string is from 1-127 bytes, the length is a single byte. If
2435 it is from 128-32767 bytes, the length is written as ((len >> 8) |
2436 0x80) followed by (len % 0x100).
2438 - The sending of exclude names is done using filter-rule syntax. This
2439 means that all names have a prefixed rule indicator, even excludes
2440 (which used to be sent as a bare pattern, when possible). The -C
2441 option will include the per-dir .cvsignore merge file in the list of
2442 filter rules so it is positioned correctly (unlike in some older
2443 transfer scenarios).
2445 - Rsync sorts the filename list in a different way: it sorts the subdir
2446 names after the non-subdir names for each dir's contents, and it
2447 always puts a dir's contents immediately after the dir's name in the
2448 list. (Previously an item named "foo.txt" would sort in between
2449 directory "foo/" and "foo/bar".)
2451 - When talking to a protocol 29 rsync daemon, a list-only request
2452 is able to note this before the options are sent over the wire and
2453 the new --list-only option is included in the options.
2455 - When the --stats bytes are sent over the wire (or stored in a batch),
2456 they now include two elapsed-time values: one for how long it took to
2457 build the file-list, and one for how long it took to send it over the
2458 wire (each expressed in thousandths of a second).
2460 - When --delete-excluded is specified with some filter rules (AKA
2461 excludes), a client sender will now initiate a send of the rules to
2462 the receiver (older protocols used to omit the sending of excludes in
2463 this situation since there were no receiver-specific rules that
2464 survived --delete-excluded back then). Note that, as with all the
2465 filter-list sending, only items that are significant to the other
2466 side will actually be sent over the wire, so the filter-rule list
2467 that is sent in this scenario is often empty.
2469 - An index equal to the file-list count is sent as a keep-alive packet
2470 from the generator to the sender, which then forwards it on to the
2471 receiver. This normally invalid index is only a valid keep-alive
2472 packet if the 16-bit flag-word that follows it contains a single bit
2473 (ITEM_IS_NEW, which is normally an illegal flag to appear alone).
2475 - A protocol-29 batch file includes a bit for the setting of the --dirs
2476 option and for the setting of the --compress option. Also, the shell
2477 script created by --write-batch will use the --filter option instead
2478 of --exclude-from to capture any filter rules.
2482 - Handle an operating system that use mkdev() in place of makedev().
2484 - Improved configure to better handle cross-compiling.
2487 NEWS for rsync 2.6.3 (30 Sep 2004)
2488 Protocol: 28 (unchanged)
2489 Changes since 2.6.2:
2493 - A bug in the sanitize_path routine (which affects a non-chrooted
2494 rsync daemon) could allow a user to craft a pathname that would get
2495 transformed into an absolute path for certain options (but not for
2496 file-transfer names). If you're running an rsync daemon with chroot
2497 disabled, *please upgrade*, ESPECIALLY if the user privs you run
2498 rsync under is anything above "nobody".
2500 OUTPUT CHANGES (ATTN: those using a script to parse the verbose output):
2502 - Please note that the 2-line footer (output when verbose) now uses the
2503 term "sent" instead of "wrote" and "received" instead of "read". If
2504 you are not parsing the numeric values out of this footer, a script
2505 would be better off using the empty line prior to the footer as the
2506 indicator that the verbose output is over.
2508 - The output from the --stats option was similarly affected to change
2509 "written" to "sent" and "read" to "received".
2511 - Rsync ensures that a filename that contains a newline gets mentioned
2512 with each newline transformed into a question mark (which prevents a
2513 filename from causing an empty line to be output).
2515 - The "backed up ..." message that is output when at least 2 --verbose
2516 options are specified is now the same both with and without the
2517 --backup-dir option.
2521 - Fixed a crash bug that might appear when --delete was used and
2522 multiple source directories were specified.
2524 - Fixed a 32-bit truncation of the file length when generating the
2527 - The --backup code no longer attempts to create some directories
2528 over and over again (generating warnings along the way).
2530 - Fixed a bug in the reading of the secrets file (by the daemon) and
2531 the password file (by the client): the files no longer need to be
2532 terminated by a newline for their content to be read in.
2534 - If a file has a read error on the sending side or the reconstructed
2535 data doesn't match the expected checksum (perhaps due to the basis
2536 file changing during the transfer), the receiver will no longer
2537 retain the resulting file unless the --partial option was specified.
2538 (Note: for the read-error detection to work, neither side can be
2539 older than 2.6.3 -- older receivers will always retain the file, and
2540 older senders don't tell the receiver that the file had a read
2543 - If a file gets resent in a single transfer and the --backup option
2544 is enabled, rsync no longer performs a duplicate backup (it used to
2545 overwrite the original file in the backup area).
2547 - Files specified in the daemon's "exclude" or "exclude from" config
2548 items are now excluded from being uploaded (assuming that the module
2549 allows uploading at all) in addition to the old download exclusion.
2551 - Got rid of a potential hang in the receiver when near the end of a
2554 - When using --backup without a --backup-dir, rsync no longer preserves
2555 the modify time on directories. This avoids confusing NFS.
2557 - When --copy-links (-L) is specified, we now output a separate error
2558 for a symlink that has no referent instead of claiming that a file
2561 - The --copy-links (-L) option no longer has the side-effect of telling
2562 the receiving side to follow symlinks. See the --keep-dirlinks
2563 option (mentioned below) for a way to specify that behavior.
2565 - Error messages from the daemon server's option-parsing (such as
2566 refused options) are now successfully transferred back to the client
2567 (the server used to fail to send the message because the socket
2568 wasn't in the right state for the message to get through).
2570 - Most transfer errors that occur during a daemon transfer are now
2571 returned to the user in addition to being logged (some messages are
2572 intended to be daemon-only and are not affected by this).
2574 - Fixed a bug in the daemon authentication code when using one of the
2575 batch-processing options.
2577 - We try to work around some buggy IPv6 implementations that fail to
2578 implement IPV6_V6ONLY. This should fix the "address in use" error
2579 that some daemons get when running on an OS with a buggy IPv6
2580 implementation. Also, if the new code gets this error, we might
2581 suggest that the user specify --ipv4 or --ipv6 (if we think it will
2584 - When the remote rsync dies, make a better effort to recover any error
2585 messages it may have sent before dying (the local rsync used to just
2586 die with a socket-write error).
2588 - When using --delete and a --backup-dir that contains files that are
2589 hard-linked to their destination equivalents, rsync now makes sure
2590 that removed files really get removed (avoids a really weird rename()
2593 - Avoid a bogus run-time complaint about a lack of 64-bit integers when
2594 the int64 type is defined as an off_t and it actually has 64-bits.
2596 - Added a configure check for open64() without mkstemp64() so that we
2597 can avoid using mkstemp() when such a combination is encountered.
2598 This bypasses a problem writing out large temp files on OSes such as
2601 - Fixed an age-old crash problem with --read-batch on a local copy
2602 (rsync was improperly assuming --whole-file for the local copy).
2604 - When --dry-run (-n) is used and the destination directory does not
2605 exist, rsync now produces a correct report of files that would be
2606 sent instead of dying with a chdir() error.
2608 - Fixed a bug that could cause a slow-to-connect rsync daemon to die
2609 with an error instead of waiting for the connection to finish.
2611 - Fixed an ssh interaction that could cause output to be lost when the
2612 user chose to combine the output of rsync's stdout and stderr (e.g.
2615 - Fixed an option-parsing bug when --files-from got passed to a daemon.
2619 - Added the --partial-dir=DIR option that lets you specify where to
2620 (temporarily) put a partially transferred file (instead of over-
2621 writing the destination file). E.g. --partial-dir=.rsync-partial
2622 Also added support for the RSYNC_PARTIAL_DIR environment variable
2623 that, when found, transforms a regular --partial option (such as
2624 the convenient -P option) into one that also specifies a directory.
2626 - Added --keep-dirlinks (-K), which allows you to symlink a directory
2627 onto another partition on the receiving side and have rsync treat it
2628 as matching a normal directory from the sender.
2630 - Added the --inplace option that tells rsync to write each destination
2631 file without using a temporary file. The matching of existing data
2632 in the destination file can be severely limited by this, but there
2633 are also cases where this is more efficient (such as appending data).
2634 Use only when needed (see the man page for more details).
2636 - Added the "write only" option for the daemon's config file.
2638 - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
2639 and documented all these options in the man page.
2641 - Improved the handling of the --bwlimit option so that it's less
2642 bursty, more accurate, and works properly over a larger range of
2645 - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
2646 SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
2648 - Added the --checksum-seed=N option for advanced users.
2650 - Batch writing/reading has a brand-new implementation that is simpler,
2651 fixes a few weird problems with the old code (such as no longer
2652 sprinkling the batch files into different dirs or even onto different
2653 systems), and is much less intrusive into the code (making it easier
2654 to maintain for the future). The new code generates just one data
2655 file instead of three, which makes it possible to read the batch on
2656 stdin via a remote shell. Also, the old requirement of forcing the
2657 same fixed checksum-seed for all batch processing has been removed.
2659 - If an rsync daemon has a module set with "list = no" (which hides its
2660 presence in the list of available modules), a user that fails to
2661 authenticate gets the same "unknown module" error that they would get
2662 if the module were actually unknown (while still logging the real
2663 error to the daemon's log file). This prevents fishing for module
2666 - The daemon's "refuse options" config item now allows you to match
2667 option names using wildcards and/or the single-letter option names.
2669 - Each transferred file now gets its permissions and modified-time
2670 updated before the temp-file gets moved into place. Previously, the
2671 finished file would have a very brief window where its permissions
2672 disallowed all group and world access.
2674 - Added the ability to parse a literal IPv6 address in an "rsync:" URL
2675 (e.g. rsync://[2001:638:500:101::21]:873/module/dir).
2677 - The daemon's wildcard expanding code can now handle more than 1000
2678 filenames (it's now limited by memory instead of having a hard-wired
2683 - Some cleanup in the exclude code has saved some per-exclude memory
2684 and made the code easier to maintain.
2686 - Improved the argv-overflow checking for a remote command that has a
2689 - Use rsyserr() in the various places that were still calling rprintf()
2690 with strerror() as an arg.
2692 - If an rsync daemon is listening on multiple sockets (to handle both
2693 IPv4 and IPv6 to a single port), we now close all the unneeded file
2694 handles after we accept a connection (we used to close just one of
2697 - Optimized the handling of larger block sizes (rsync used to slow to a
2698 crawl if the block size got too large).
2700 - Optimized away a loop in hash_search().
2702 - Some improvements to the sanitize_path() and clean_fname() functions
2703 makes them more efficient and produce better results (while still
2704 being compatible with the file-name cleaning that gets done on both
2705 sides when sending the file-list).
2707 - Got rid of alloc_sanitize_path() after adding a destination-buffer
2708 arg to sanitize_path() made it possible to put all the former's
2709 functionality into the latter.
2711 - The file-list that is output when at least 4 verbose options are
2712 specified reports the uid value on the sender even when rsync is
2713 not running as root (since we might be sending to a root receiver).
2717 - Added a "gen" target to rebuild most of the generated files,
2718 including configure, config.h.in, the man pages, and proto.h.
2720 - If "make proto" doesn't find some changes in the prototypes, the
2721 proto.h file is left untouched (its time-stamp used to always be
2724 - The variable $STRIP (that is optionally set by the install-strip
2725 target's rule) was changed to $INSTALL_STRIP because some systems
2726 have $STRIP already set in the environment.
2728 - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
2730 - When cross-compiling, the gettimeofday() function is now assumed to
2731 be a modern version that takes two-args (since we can't test it).
2735 - The scripts in the testsuite dir were cleaned up a bit and a few
2738 - Some new diffs were added to the patches dir, and some accepted
2742 NEWS for rsync 2.6.2 (30 Apr 2004)
2743 Protocol: 28 (unchanged)
2744 Changes since 2.6.1:
2748 - Fixed a major bug in the sorting of the filenames when --relative
2749 is used for some sources (just sources such as "/" and "/*" were
2750 affected). This fix ensures that we ask for the right file-list
2751 item when requesting changes from the sender.
2753 - Rsync now checks the return value of the close() function to
2754 better report disk-full problems on an NFS file system.
2756 - Restored the old daemon-server behavior of logging error messages
2757 rather than returning them to the user. (A better long-term fix
2758 will be sought in the future.)
2760 - An obscure uninitialized-variable bug was fixed in the uid/gid
2761 code. (This bug probably had no ill effects.)
2765 - Got rid of the configure check for sys/sysctl.h (it wasn't used
2766 and was causing a problem on some systems). Also improved the
2767 broken-largefile-locking test to try to avoid failure due to an
2770 - Fixed a compile problem on systems that don't define
2773 - Fixed a compile problem in the popt source for compilers that
2774 don't support __attribute__.
2778 - Improved the testsuite's "merge" test to work on OSF1.
2780 - Two new diffs were added to the patches dir.
2783 NEWS for rsync 2.6.1 (26 Apr 2004)
2784 Protocol: 28 (changed)
2785 Changes since 2.6.0:
2789 - Paths sent to an rsync daemon are more thoroughly sanitized when
2790 chroot is not used. If you're running a non-read-only rsync
2791 daemon with chroot disabled, *please upgrade*, ESPECIALLY if the
2792 user privs you run rsync under is anything above "nobody".
2796 - Lower memory use, more optimal transfer of data over the socket,
2797 and lower CPU usage (see the INTERNAL section for details).
2799 - The RSYNC_PROXY environment variable can now contain a
2800 "USER:PASS@" prefix before the "HOST:PORT" information.
2803 - The --progress output now mentions how far along in the transfer
2804 we are, including both a count of files transferred and a
2805 percentage of the total file-count that we've processed. It also
2806 shows better current-rate-of-transfer and remaining-transfer-time
2809 - Documentation changes now attempt to describe some often mis-
2810 understood features more clearly.
2814 - When -x (--one-file-system) is combined with -L (--copy-links) or
2815 --copy-unsafe-links, no symlinked files are skipped, even if the
2816 referent file is on a different filesystem.
2818 - The --link-dest code now works properly for a non-root user when
2819 (1) the UIDs of the source and destination differ and -o was
2820 specified, or (2) when the group of the source can't be used on
2821 the destination and -g was specified.
2823 - Fixed a bug in the handling of -H (hard-links) that might cause
2824 the expanded PATH/NAME value of the current item to get
2825 overwritten (due to an expanded-name caching bug).
2827 - We now reset the "new data has been sent" flag at the start of
2828 each file we send. This makes sure that an interrupted transfer
2829 with the --partial option set doesn't keep a shorter temp file
2830 than the current basis file when no new data has been transferred
2831 over the wire for that file.
2833 - Fixed a byte-order problem in --batch-mode on big-endian machines.
2836 - When using --cvs-exclude, the exclude items we get from a
2837 per-directory's .cvsignore file once again only affect that one
2838 directory (not all following directories too). The items are also
2839 now properly word-split and parsed without any +/- prefix parsing.
2841 - When specifying the USER@HOST: prefix for a file, the USER part
2842 can now contain an '@', if needed (i.e. the last '@' is used to
2843 find the HOST, not the first).
2845 - Fixed some bugs in the handling of group IDs for non-root users:
2846 (1) It properly handles a group that the sender didn't have a name
2847 for (it would previously skip changing the group on any files in
2848 that group). (2) If --numeric-ids is used, rsync no longer
2849 attempts to set groups that the user doesn't have the permission
2852 - Fixed the "refuse options" setting in the rsyncd.conf file.
2854 - Improved the -x (--one-file-system) flag's handling of any mount-
2855 point directories we encounter. It is both more optimal (in that
2856 it no longer does a useless scan of the contents of the mount-
2857 point dirs) and also fixes a bug where a remapped mount of the
2858 original filesystem could get discovered in a subdir we should be
2861 - Rsync no longer discards a double-slash at the start of a filename
2862 when trying to open the file. It also no longer constructs names
2863 that start with a double slash (unless the user supplied them).
2865 - Path-specifying options to a daemon should now work the same with
2866 or without chroot turned on. Previously, such a option (such as
2867 --link-dest) would get its absolute path munged into a relative
2868 one if chroot was not on, making that setting fairly useless.
2869 Rsync now transforms the path into one that is based on the
2870 module's base dir when chroot is not enabled.
2872 - Fixed a compatibility problem interacting with older rsync
2873 versions that might send us an empty --suffix value without
2874 telling us that --backup-dir was specified.
2876 - The "hosts allow" option for a daemon-over-remote-shell process
2877 now has improved support for IPv6 addresses and a fix for systems
2878 that have a length field in their socket structs.
2880 - Fixed the ability to request an empty backup --suffix when sending
2881 files to an rsync daemon.
2883 - Fixed an option-parsing bug when --files-from was sent to a server
2888 - Most of the I/O is now buffered, which results in a pretty large
2889 speedup when running under MS Windows. (Craig Barratt)
2891 - Optimizations to the name-handling/comparing code have made some
2892 significant reductions in user-CPU time for large file sets.
2894 - Some cleanup of the variable types make the code more consistent.
2896 - Reduced memory requirements of hard link preservation.
2899 - Implemented a new algorithm for hard-link handling that speeds up
2900 the code significantly. (J.W. Schultz and Wayne Davison)
2902 - The --hard-link option now uses the first existing file in the
2903 group of linked files as the basis for the transfer. This
2904 prevents the sub-optimal transfer of a file's data when a new
2905 hardlink is added on the sending side and it sorts alphabetically
2906 earlier in the list than the files that are already present on the
2909 - Dropped support for protocol versions less than 20 (2.3.0 released
2910 15 Mar 1999) and activated warnings for protocols less than 25
2911 (2.5.0 released 23 Aug 2001). (Wayne Davison and J.W. Schultz,
2914 - More optimal data transmission for --hard-links (protocol 28).
2916 - More optimal data transmission for --checksum (protocol 28).
2918 - Less memory is used when --checksum is specified.
2920 - Less memory is used in the file list (a per-file savings).
2922 - The generator is now better about not modifying the file list
2923 during the transfer in order to avoid a copy-on-write memory
2924 bifurcation (on systems where fork() uses shared memory).
2925 Previously, rsync's shared memory would slowly become unshared,
2926 resulting in real memory usage nearly doubling on the receiving
2927 side by the end of the transfer. Now, as long as permissions
2928 are being preserved, the shared memory should remain that way
2929 for the entire transfer.
2931 - Changed hardlink info and file_struct + strings to use allocation
2932 pools. This reduces memory use for large file-sets and permits
2933 freeing memory to the OS. (J.W. Schultz)
2935 - The 2 pipes used between the receiver and generator processes
2936 (which are forked on the same machine) were reduced to 1 pipe and
2937 the protocol improved so that (1) it is now impossible to have the
2938 "redo" pipe fill up and hang rsync, and (2) trailing messages from
2939 the receiver don't get lost on their way through the generator
2940 over to the sender (which mainly affected hard-link messages and
2941 verbose --stats output).
2943 - Improved the internal uid/gid code to be more portable and a
2944 little more optimized.
2946 - The device numbers sent when using --devices are now sent as
2947 separate major/minor values with 32-bit accuracy (protocol 28).
2948 Previously, the copied devices were sent as a single 32-bit
2949 number. This will make inter-operation of 64-bit binaries more
2950 compatible with their 32-bit brethren (with both ends of the
2951 connection are using protocol 28). Note that optimizations in the
2952 binary protocol for sending the device numbers often results in
2953 fewer bytes being used than before, even though more precision is
2956 - Some cleanup of the exclude/include structures and its code made
2957 things clearer (internally), simpler, and more efficient.
2959 - The reading & writing of the file-list in batch-mode is now
2960 handled by the same code that sends & receives the list over the
2961 wire. This makes it much easier to maintain. (Note that the
2962 batch code is still considered to be experimental.)
2966 - The configure script now accepts --with-rsyncd-conf=PATH to
2967 override the default value of the /etc/rsyncd.conf file.
2969 - Fixed configure bug when running "./configure --disable-ipv6".
2971 - Fixed compilation problem on Tru64 Unix (having to do with
2972 sockaddr.sa_len and sockaddr.sin_len).
2976 - Fixed "make test" bug when build dir is not the source dir.
2978 - Added a couple extra diffs in the "patches" dir, removed the ones
2979 that got applied, and rebuilt the rest.
2982 NEWS for rsync 2.6.0 (1 Jan 2004)
2983 Protocol: 27 (changed)
2984 Changes since 2.5.7:
2988 * "ssh" is now the default remote shell for rsync. If you want to
2989 change this, configure like this: "./configure --with-rsh=rsh".
2991 * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
2992 Note that --from0 affects the line-ending character for all the
2993 files read by the --*-from options. (Wayne Davison)
2995 * Length of csum2 is now per-file starting with protocol version
2998 * Per-file dynamic block size is now sqrt(file length). The
2999 per-file checksum size is determined according to an algorithm
3000 provided by Donovan Baarda which reduces the probability of rsync
3001 algorithm corrupting data and falling back using the whole md4
3002 checksums. (J.W. Schultz, Donovan Baarda)
3004 * The --stats option no longer includes the (debug) malloc summary
3005 unless the verbose option was specified at least twice.
3007 * Added a new error/warning code for when files vanish from the
3008 sending side. Made vanished source files not interfere with the
3009 file-deletion pass when --delete-after was specified.
3011 * Various trailing-info sections are now preceded by a newline.
3015 * Fixed several exclude/include matching bugs when using wild-cards.
3016 This has a several user-visible effects, all of which make the
3017 matching more consistent and intuitive. This should hopefully not
3018 cause anyone problems since it makes the matching work more like
3019 what people are expecting. (Wayne Davison)
3021 - A pattern with a "**" no longer causes a "*" to match slashes.
3022 For example, with "/*/foo/**", "foo" must be 2 levels deep.
3023 [If your string has BOTH "*" and "**" wildcards, changing the
3024 "*" wildcards to "**" will provide the old behavior in all
3027 - "**/foo" now matches at the base of the transfer (like /foo
3028 does). [Use "/**/foo" to get the old behavior in all versions.]
3030 - A non-anchored wildcard term floats to match beyond the base of
3031 the transfer. E.g. "CVS/R*" matches at the end of the path,
3032 just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
3033 to get the old behavior in all versions.]
3035 - Including a "**" in the match term causes it to be matched
3036 against the entire path, not just the name portion, even if
3037 there aren't any interior slashes in the term. E.g. "foo**bar"
3038 would exclude "/path/foo-bar" (just like before) as well as
3039 "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
3040 old behavior in all versions.]
3042 * The exclude list specified in the daemon's config file is now
3043 properly applied to the pulled items no matter how deep the
3044 user's file-args are in the source tree. (Wayne Davison)
3046 * For protocol version >= 27, mdfour_tail() is called when the
3047 block size (including checksum_seed) is a multiple of 64.
3048 Previously it was not called, giving the wrong MD4 checksum.
3051 * For protocol version >= 27, a 64 bit bit counter is used in
3052 mdfour.c as required by the RFC. Previously only a 32 bit bit
3053 counter was used, causing incorrect MD4 file checksums for
3054 file sizes >= 512MB - 4. (Craig Barratt)
3056 * Fixed a crash bug when interacting with older rsync versions and
3057 multiple files of the same name are destined for the same dir.
3060 * Keep tmp names from overflowing MAXPATHLEN.
3062 * Make --link-dest honor the absence of -p, -o, and -g.
3064 * Made rsync treat a trailing slash in the destination in a more
3067 * Fixed file I/O error detection. (John Van Essen)
3069 * Fixed bogus "malformed address {hostname}" message in rsyncd log
3070 when checking IP address against hostnames from "hosts allow"
3071 and "hosts deny" parameters in config file.
3073 * Print heap statistics when verbose >= 2 instead of when >= 1.
3075 * Fixed a compression (-z) bug when syncing a mostly-matching file
3076 that contains already-compressed data. (Yasuoka Masahiko and
3079 * Fixed a bug in the --backup code that could cause deleted files
3080 to not get backed up.
3082 * When the backup code makes new directories, create them with mode
3083 0700 instead of 0755 (since the directory permissions in the
3084 backup tree are not yet copied from the main tree).
3086 * Call setgroups() in a more portable manner.
3088 * Improved file-related error messages to better indicate exactly
3089 what pathname failed. (Wayne Davison)
3091 * Fixed some bugs in the handling of --delete and --exclude when
3092 using the --relative (-R) option. (Wayne Davison)
3094 * Fixed bug that prevented regular files from replacing
3095 special files and caused a directory in --link-dest or
3096 --compare-dest to block the creation of a file with the
3097 same path. A directory still cannot be replaced by a
3098 regular file unless --delete specified. (J.W. Schultz)
3100 * Detect and report when open or opendir succeed but read and
3101 readdir fail caused by network filesystem issues and truncated
3102 files. (David Norwood, Michael Brown, J.W. Schultz)
3104 * Added a fix that should give ssh time to restore the tty settings
3105 if the user presses Ctrl-C at an ssh password prompt.
3109 * Eliminated vestigial support for old versions that we stopped
3110 supporting. (J.W. Schultz)
3112 * Simplified some of the option-parsing code. (Wayne Davison)
3114 * Some cleanup made to the exclude code, as well as some new
3115 defines added to enhance readability. (Wayne Davison)
3117 * Changed the protocol-version code so that it can interact at a
3118 lower protocol level than the maximum supported by both sides.
3119 Added an undocumented option, --protocol=N, to force the value
3120 we advertise to the other side (primarily for testing purposes).
3124 NEWS for rsync 2.5.7 (4 Dec 2003)
3125 Protocol: 26 (unchanged)
3126 Changes since 2.5.6:
3130 * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
3131 Russell, Andrea Barisani)
3134 NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
3135 Protocol: 26 (unchanged)
3136 Changes since 2.5.5:
3140 * The --delete-after option now implies --delete. (Wayne Davison)
3142 * The --suffix option can now be used with --backup-dir. (Michael
3145 * Combining "::" syntax with the --rsh/-e option now uses the
3146 specified remote-shell as a transport to talk to a (newly-spawned)
3147 server-daemon. This allows someone to use daemon features, such
3148 as modules, over a secure protocol, such as ssh. (JD Paul)
3150 * The rsync:// syntax for daemon connections is now accepted in the
3153 * If the file name given to --include-from or --exclude-from is "-",
3154 rsync will read from standard input. (J.W. Schultz)
3156 * New option --link-dest which is like --compare-dest except that
3157 unchanged files are hard-linked in to the destination directory.
3160 * Don't report an error if an excluded file disappears during an
3161 rsync run. (Eugene Chupriyanov and Bo Kersey)
3163 * Added .svn to --cvs-exclude list to support subversion. (Jon
3166 * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
3167 and "hosts deny" fields. (Hideaki Yoshifuji)
3169 * Changed exclude file handling to permit DOS or MAC style line
3170 terminations. (J.W. Schultz)
3172 * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
3177 * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
3178 L. Allen, Martin Pool)
3180 * Generate each file's rolling-checksum data as we send it, not
3181 in a separate (memory-eating) pass before hand. This prevents
3182 timeout errors on really large files. (Stefan Nehlsen)
3184 * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
3186 * Better handling of some client-server errors. (Martin Pool)
3188 * Fixed a crash that would occur when sending a list of files that
3189 contains a duplicate name (if it sorts to the end of the file
3190 list) and using --delete. (Wayne Davison)
3192 * Fixed the file-name duplicate-removal code when dealing with multiple
3193 dups in a row. (Wayne Davison)
3195 * Fixed a bug that caused rsync to lose the exit status of its child
3196 processes and sometimes return an exit code of 0 instead of showing
3197 an error. (David R. Staples, Dave Dykstra)
3199 * Fixed bug in --copy-unsafe-links that caused it to be completely
3200 broken. (Dave Dykstra)
3202 * Prevent infinite recursion in cleanup code under certain circumstances.
3203 (Sviatoslav Sviridov and Marc Espie)
3205 * Fixed a bug that prevented rsync from creating intervening directories
3206 when --relative-paths/-R is set. (Craig Barratt)
3208 * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
3212 * Many code cleanups and improved internal documentation. (Martin
3215 * Portability fixes. (Dave Dykstra and Wayne Davison)
3217 * More test cases. (Martin Pool)
3219 * Some test-case fixes. (Brian Poole, Wayne Davison)
3221 * Updated included popt to the latest vendor drop, version 1.6.4.
3224 * Updated config.guess and config.sub to latest versions; this
3225 means rsync should build on more platforms. (Paul Green)
3228 NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
3229 Protocol: 26 (unchanged)
3230 Changes since 2.5.4:
3234 * With --progress, when a transfer is complete show the time taken;
3235 otherwise show expected time to complete. (Cameron Simpson)
3237 * Make "make install-strip" works properly, and "make install"
3238 accepts a DESTDIR variable for help in building binary packages.
3239 (Peter Breitenlohner, Greg Louis)
3241 * If configured with --enable-maintainer-mode, then on receipt of
3242 a fatal signal rsync will try to open an xterm running gdb,
3243 similarly to Samba's "panic action" or GNOME's bug-buddy.
3249 * Fix situation where failure to fork (e.g. because out of process
3250 slots) would cause rsync to kill all processes owned by the
3251 current user. Yes, really! (Paul Haas, Martin Pool)
3253 * Fix test suite on Solaris. (Jos Backus, Martin Pool)
3255 * Fix minor memory leak in socket code. (Dave Dykstra, Martin
3258 * Fix --whole-file problem that caused it to be the default even
3259 for remote connections. (Martin Pool, Frank Schulz)
3261 * Work around bug in Mac OS X mkdir(2), which cannot handle
3263 <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
3266 * Improved network error handling. (Greg A. Woods)
3269 NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
3270 Protocol: 26 (unchanged)
3271 Changes since 2.5.3:
3275 * Additional fix for zlib double-free bug. (Martin Pool, Andrew
3276 Tridgell) (CVE CAN-2002-0059)
3280 * Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
3281 (Note that rsync still uses a custom version of zlib; you can
3282 not just link against a system library. See zlib/README.rsync)
3284 * Additional test cases for --compress. (Martin Pool)
3287 NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
3288 Protocol: 26 (unchanged)
3289 Changes since 2.5.2:
3293 * Make sure that supplementary groups are removed from a server
3294 process after changing uid and gid. (Ethan Benson) (Debian bug
3295 #132272, CVE CAN-2002-0080)
3299 * Fix zlib double-free bug. (Owen Taylor, Mark J Cox) (CVE
3302 * Fixed problem that in many cases caused the error message
3303 unexpected read size of 0 in map_ptr
3304 and resulted in the wrong data being copied.
3306 * Fixed compilation errors on some systems caused by the use of
3307 "unsigned int64" in rsync.h.
3309 * Fixed problem on systems such as Sunos4 that do not support realloc
3310 on a NULL pointer; error was "out of memory in flist_expand".
3312 * Fix for rsync server processes hanging around after the client
3313 unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
3315 * Cope with BSD systems on which mkdir() will not accept a trailing
3320 * Merge in changes from zlib 1.1.2 to zlib 1.1.3. (Note that
3321 rsync still uses a custom version of zlib; you can not just link
3322 against a system library. See zlib/README.rsync)
3324 * Command to initiate connections is only shown with -vv, rather
3325 than -v as in 2.5.2. Output from plain -v is more similar to
3326 what was historically used so as not to break scripts that try
3327 to parse the output.
3329 * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
3331 * Made the --write-batch and --read-batch options actually work
3332 and added documentation in the man page (Jos Backus)
3334 * If the daemon is unable to fork a child to accept a connection,
3335 print an error message. (Colin Walters)
3338 NEWS for rsync 2.5.2 (26 Jan 2002)
3339 Protocol: 26 (changed)
3340 Changes since 2.5.1:
3344 * Signedness security patch from Sebastian Krahmer
3345 <krahmer@suse.de> -- in some cases we were not sufficiently
3346 careful about reading integers from the network.
3350 * Fix possible string mangling in log files.
3352 * Fix for setting local address of outgoing sockets.
3354 * Better handling of hardlinks and devices on platforms with
3355 64-bit dev_t or ino_t.
3357 * Name resolution on machines supporting IPv6 is improved.
3359 * Fix for device nodes. (dann frazier) (Debian #129135)
3363 * With -v, rsync now shows the command used to initiate an ssh/rsh
3366 * --statistics now shows memory heap usage on platforms that
3369 * "The Ted T'so school of program optimization": make progress
3370 visible and people will think it's faster. (With --progress,
3371 rsync will show you how many files it has seen as it builds the
3372 file_list, giving some indication that it has not hung.)
3374 * Improvements to batch mode support. This is still experimental
3375 but testing would be welcome. (Jos Backus)
3377 * New --ignore-existing option, patch previously distributed with
3378 Vipul's Razor. (Debian #124286)
3381 NEWS for rsync 2.5.1 (3 Jan 2002)
3382 Protocol: 25 (unchanged)
3383 Changes since 2.5.0:
3387 * Fix for segfault in --daemon mode configuration parser. (Paul
3390 * Correct string<->address parsing for both IPv4 and 6.
3391 (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
3394 * Various fixes for IPv6 support. (Dave Dykstra)
3396 * rsync.1 typo fix. (Matt Kraai)
3398 * Test suite typo fixes. (Tom Schmidt)
3400 * rsync.1 grammar and clarity improvements. (Edward
3403 * Correction to ./configure tests for inet_ntop. (Jeff Garzik)
3407 * --progress and -P now show estimated data transfer rate (in a
3408 multiple of bytes/s) and estimated time to completion. (Rik
3411 * --no-detach option, required to run as a W32 service and also
3412 useful when running on Unix under daemontools, AIX's SRC, or a
3413 debugger. (Max Bowsher, Jos Backus)
3415 * Clearer error messages for some conditions.
3418 NEWS for rsync 2.5.0 (30 Nov 2001)
3419 Protocol: 25 (changed)
3420 Changes since 2.4.6:
3424 * Martin Pool <mbp@samba.org> is now a co-maintainer.
3428 * Support for LSB-compliant packaging <http://www.linuxbase.org/>
3430 * Shell wildcards are allowed in "auth users" lines.
3432 * Merged UNC rsync+ patch to support creation of standalone patch
3433 sets. By Bert J. Dempsey and Debra Weiss, updated by Jos
3434 Backus. <http://www.ils.unc.edu/i2dsi/unc_rsync+.html>
3436 * IPv6 support based on a patch from KAME.net, on systems
3437 including modern versions of Linux, Solaris, and HP-UX. Also
3438 includes IPv6 compatibility functions for old OSs by the
3439 Internet Software Consortium, Paul Vixie, the OpenSSH
3440 portability project, and OpenBSD.
3444 * Include/exclude cluestick: with -vv, print out whether files are
3445 included or excluded and why.
3447 * Many error messages have more friendly explanations and more
3450 * Manual page improvements plus scanty protocol documentation.
3452 * When running as --daemon in the background and using a "log
3453 file" rsyncd.conf directive, close the log file every time it is
3454 open when going to sleep on the socket. This allows the log
3455 file to get cleaned out by another process.
3457 * Change to using libpopt rather than getopt for processing
3458 options. This makes the code cleaner and the behaviour more
3459 consistent across platforms. popt is included and built if not
3460 installed on the platform.
3462 * More details in --version, including note about whether 64-bit
3463 files, symlinks and hardlinks are supported.
3465 * MD4 code may use less CPU cycles.
3467 * Use mkstemp on systems where it is secure. If we use mktemp,
3468 explain that we do it in a secure way.
3470 * --whole-file is the default when source and target are on the
3475 * Fix for various bugs causing rsync to hang.
3477 * Attempt to fix Large File Summit support on AIX.
3479 * Attempt to fix error handling lockup bug.
3481 * Give a non-0 exit code if *any* of the files we have been asked
3482 to transfer fail to transfer.
3484 * For log messages containing ridiculously long strings that might
3485 overflow a buffer rsync no longer aborts, but rather prints an
3486 ellipsis at the end of the string. (Patch from Ed Santiago.)
3490 * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
3492 * autoconf2.52 (or later) is now required to rebuild the autoconf
3493 scripts. It is not required to simply build rsync.
3495 * Platforms thought to work in this release:
3497 Cray SV1 UNICOS 10.0.0.8 cc
3498 Debian Linux 2.2 UltraSparc gcc
3499 Debian Linux testing/unstable ARM gcc
3500 FreeBSD 3.3-RELEASE i386 cc
3501 FreeBSD 4.1.1-RELEASE i386 cc
3502 FreeBSD 4.3-STABLE i386 cc
3503 HP PA-RISC HP-UX 10.20 gcc
3504 HP PA-RISC HP-UX 11.11 cc
3507 Mac OS X PPC (--disable-ipv6) cc
3509 NetBSD Current i386 cc
3510 OpenBSD 2.5 Sparc gcc
3512 OpenBSD Current i386 cc
3514 RedHat 6.2 i386 insure++
3516 RedHat 7.1 i386 (Kernel 2.4.10) gcc
3517 Slackware 8.0 i686 (Kernel 2.4.10)
3518 Solaris 8 UltraSparc cc
3519 Solaris 8 UltraSparc gcc
3521 SuSE 7.1 i386 gcc2.95.2
3522 SuSE 7.1 ppc gcc2.95.2
3523 i386-pc-sco3.2v5.0.5 cc
3524 i386-pc-sco3.2v5.0.5 gcc
3525 powerpc-ibm-aix4.3.3.0 cc
3526 i686-unknown-sysv5UnixWare7.1.0 gcc
3527 i686-unknown-sysv5UnixWare7.1.0 cc
3531 * The existing test.sh script by Phil Hands has been merged into a
3532 test framework that works from both "make check" and the Samba
3535 Partial Protocol History
3536 RELEASE DATE VER. DATE OF COMMIT* PROTOCOL
3537 22 Jun 2014 3.1.1 31
3538 28 Sep 2013 3.1.0 31 Aug 2008 31
3539 23 Sep 2011 3.0.9 30
3540 26 Mar 2011 3.0.8 30
3541 31 Dec 2009 3.0.7 30
3542 08 May 2009 3.0.6 30
3543 28 Dec 2008 3.0.5 30
3544 06 Sep 2008 3.0.4 30
3545 29 Jun 2008 3.0.3 30
3546 08 Apr 2008 3.0.2 30
3547 03 Apr 2008 3.0.1 30
3548 01 Mar 2008 3.0.0 11 Nov 2006 30
3549 06 Nov 2006 2.6.9 29
3550 22 Apr 2006 2.6.8 29
3551 11 Mar 2006 2.6.7 29
3552 28 Jul 2005 2.6.6 29
3553 01 Jun 2005 2.6.5 29
3554 30 Mar 2005 2.6.4 17 Jan 2005 29
3555 30 Sep 2004 2.6.3 28
3556 30 Apr 2004 2.6.2 28
3557 26 Apr 2004 2.6.1 08 Jan 2004 28
3558 01 Jan 2004 2.6.0 10 Apr 2003 27 (MAX=40)
3559 04 Dec 2003 2.5.7 26
3560 26 Jan 2003 2.5.6 26
3561 02 Apr 2002 2.5.5 26
3562 13 Mar 2002 2.5.4 26
3563 11 Mar 2002 2.5.3 26
3564 26 Jan 2002 2.5.2 11 Jan 2002 26
3565 03 Jan 2002 2.5.1 25
3566 30 Nov 2001 2.5.0 23 Aug 2001 25
3567 06 Sep 2000 2.4.6 24
3568 19 Aug 2000 2.4.5 24
3569 29 Jul 2000 2.4.4 24
3570 09 Apr 2000 2.4.3 24
3571 30 Mar 2000 2.4.2 24
3572 30 Jan 2000 2.4.1 29 Jan 2000 24
3573 29 Jan 2000 2.4.0 28 Jan 2000 23
3574 25 Jan 2000 2.3.3 23 Jan 2000 22
3575 08 Nov 1999 2.3.2 26 Jun 1999 21
3576 06 Apr 1999 2.3.1 20
3577 15 Mar 1999 2.3.0 15 Mar 1999 20
3578 25 Nov 1998 2.2.1 19
3579 03 Nov 1998 2.2.0 19
3580 09 Sep 1998 2.1.1 19
3581 20 Jul 1998 2.1.0 19
3582 17 Jul 1998 2.0.19 19
3583 18 Jun 1998 2.0.17 19
3584 01 Jun 1998 2.0.16 19
3585 27 May 1998 2.0.13 27 May 1998 19
3586 26 May 1998 2.0.12 18
3587 22 May 1998 2.0.11 18
3588 18 May 1998 2.0.9 18 May 1998 18
3589 17 May 1998 2.0.8 17
3590 15 May 1998 2.0.1 17
3591 14 May 1998 2.0.0 17
3592 17 Apr 1998 1.7.4 17
3593 13 Apr 1998 1.7.3 17
3594 05 Apr 1998 1.7.2 17
3595 26 Mar 1998 1.7.1 17
3596 26 Mar 1998 1.7.0 26 Mar 1998 17 (MAX=30)
3597 13 Jan 1998 1.6.9 13 Jan 1998 15 (MAX=20)
3599 * DATE OF COMMIT is the date the protocol change was committed to CVS.