-NEWS for rsync 2.6.4 (UNRELEASED)
-Protocol: 28 (unchanged)
-Changes since 2.6.3:
+NEWS for rsync 2.6.7 (UNRELEASED)
+Protocol: 29 (unchanged)
+Changes since 2.6.6:
BUG FIXES:
- - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
- was only treating it as a special token in an rsync include/exclude
- file).
+ - Made hard-links work with symlinks and devices again.
- - Avoid a mkdir warning when removing a directory in the destination
- that already exists in the --backup-dir.
+ - If a device changed permissions, rsync no longer recreates the device
+ instead of just updating the permissions.
- - An OS that has a binary mode for its files (such as cygwin0 needed
- setmode(fd, O_BINARY) called on the temp-file we opened with
- mkstemp().
+ - If the user specifies a remote-host for both the source and destination,
+ we now output a syntax error rather than trying to open the destination
+ hostspec as a filename.
- - We now check if the OS doesn't support using mknod() for creating
- FIFOs and sockets, and compile-in using mkfifo() and socket() when
- necessary.
-
- - Fixed an off-by-one error in the handling of --max-delete=N.
-
- - One fork() call needed to check for and handle a failure.
+ - When --inplace creates a new destination file, rsync now creates it with
+ permissions 0600 instead of 0000 -- this makes restarting possible when
+ the transfer gets interrupted in the middle of sending a new file.
ENHANCEMENTS:
- - Rsync now supports popt's option aliases, which means that you can
- use /etc/popt and/or ~/.popt to create your own option aliases.
+ - Added the --append option that makes rsync append data onto files
+ that are longer on the source than the destination (this includes new
+ files).
- - Added the --max-size option (promoted from the patches dir).
+ - If lutimes() and/or lchmod() are around, use them to allow the
+ preservation of attributes on symlinks.
- - The daemon-mode options were separated from the normal rsync options
- so that they can't be mixed together. This makes it impossible for a
- user to start a daemon that had improper default option values that
- could cause problems (a hang or an exit) when a client connects.
+ - Added two config items to the rsyncd.conf parsing: "pre-xfer exec"
+ and "post-xfer exec". These allow a command to be specified on a
+ per-module basis that will be run before and/or after a daemon-mode
+ transfer.
- - The --bwlimit option may now be used in combination with --daemon
- to specify a default value for the daemon side and also a value
- that cannot be exceeded by a user-specified --bwlimit option.
+ - When using the --relative option, you can now insert a dot dir in
+ the source path to indicate where the replication of the source dirs
+ should start. For example, if you specify a source path of
+ rsync://host/module/foo/bar/./baz/dir with -R, rsync would only
+ replicate the "baz/dir" part of the source path (note: a trailing
+ dot dir is unaffected unless it also has a trailing slash).
- - In _exit_cleanup(): when we are exiting with a partially-received
- file, we now flush any data in the write-cache before closing the
- partial file.
+ INTERNAL:
- BUILD CHANGES:
+ - Some buffer sizes were expanded a bit, particularly on systems where
+ MAXPATHLEN is overly small (e.g. cygwin).
- - Handle an operating system that use mkdev() in place of makedev().
+ - If io_printf() tries to format more data than fits in the buffer, exit
+ with an error instead of transmitting a truncated buffer.