Mentioned the --super option.
[rsync/rsync.git] / NEWS
CommitLineData
f90f7149 1NEWS for rsync 2.6.7 (UNRELEASED)
3ae6c187 2Protocol: 29 (unchanged)
f90f7149 3Changes since 2.6.6:
9db17434 4
ac1541f4
WD
5 BUG FIXES:
6
23740239 7 - Fixed a really old bug that caused --checksum (-c) to checksum all the
da2d13e3 8 files encountered during the delete scan (ouch).
23740239 9
56961bec
WD
10 - Made hard-links work with symlinks and devices again.
11
fbe57fdc
WD
12 - If a device-file/special-file changes permissions, rsync now updates the
13 permissions without recreating the file.
4fdb03a6 14
9425918d
WD
15 - If the user specifies a remote-host for both the source and destination,
16 we now output a syntax error rather than trying to open the destination
17 hostspec as a filename.
18
7ea7bebf
WD
19 - When --inplace creates a new destination file, rsync now creates it with
20 permissions 0600 instead of 0000 -- this makes restarting possible when
21 the transfer gets interrupted in the middle of sending a new file.
22
ec69bdbd
WD
23 - Reject the combination of --inplace and --sparse since the sparse-output
24 algorithm doesn't work when overwriting existing data.
25
fbe57fdc
WD
26 - Fixed the directory name in the error that is output when pop_dir()
27 fails.
28
02efda9f
WD
29 - Really fixed the parsing of a "!" entry in .cvsignore files this time.
30
ce0da32a
WD
31 - If the generator gets a stat() error on a file, output it (this used to
32 require at least -vv for the error to be seen).
33
34 - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
35 the exit status properly and generate a better error.
0417c34e 36
8a1f3153
WD
37 - Fixed some glitches in the double-verbose output when using --copy-dest,
38 --link-dest, or --compare-dest.
39
515afe7c
WD
40 - Fixed the matching of the dont-compress items (e.g. *.gz) against files
41 that have a path component containing a slash.
42
d37bc73a
WD
43 - If code reading a filter/exclude file an EINTR error, rsync now clears
44 the error flag on the file handle so it can keep on reading.
45
87001ac6
WD
46 - If --relative is active, the sending side cleans up trailing "/" or "/."
47 suffixes to avoid triggering a bug in older rsync versions. Also, we now
48 reject a ".." dir if it would be sent as a relative dir.
d37bc73a 49
2a59d2cc
WD
50 - If a non-directory is in the way of a directory and rsync is run with
51 --dry-run and --delete, rsync no longer complains about not being
52 able to opendir() the not-yet present directory.
53
ac1541f4
WD
54 ENHANCEMENTS:
55
87781749
WD
56 - Added the --specials option to tell rsync to copy special files (and does
57 not require root). The --devices option now affects just character and
58 block devices (which now matches the documentation). The -D option still
59 requests both --devices and --specials, and -a still infers -D.
60
870dddc5
WD
61 - Added the --append option that makes rsync append data onto files
62 that are longer on the source than the destination (this includes new
63 files).
64
bad01106
WD
65 - Added the --min-size=SIZE option to exclude small files from the
66 transfer.
67
68 - Added the --compress-level option to allow you to set how aggressive
da2d13e3 69 rsync's compression should be (this option implies --compress).
d697314b 70
889439c2
WD
71 - Enhanced the parsing of the SIZE value for --min-size and --max-size
72 to allow easy entry of multiples of 1000 (instead of just multiples
73 of 1024) and off-by-one values too (e.g. --max-size=8mb-1).
74
da2d13e3 75 - The options --human-readable (-h) and --si change the output of the
889439c2 76 --stats and the end-of-run summary to be easier to read.
d697314b 77
f90f7149
WD
78 - If lutimes() and/or lchmod() are around, use them to allow the
79 preservation of attributes on symlinks.
7d7a34ae 80
8a1f3153
WD
81 - The --link-dest option now affects symlinks and devices (when
82 possible).
83
84 - Improved the output of hard-linked and copied files when using
85 --link-dest, --copy-dest, or --compare-dest.
86
870dddc5
WD
87 - Added two config items to the rsyncd.conf parsing: "pre-xfer exec"
88 and "post-xfer exec". These allow a command to be specified on a
89 per-module basis that will be run before and/or after a daemon-mode
da2d13e3
WD
90 transfer. (See the manpage for a list of the environment variables
91 that are set with information about the transfer.)
5b9cc695 92
56961bec
WD
93 - When using the --relative option, you can now insert a dot dir in
94 the source path to indicate where the replication of the source dirs
95 should start. For example, if you specify a source path of
da2d13e3 96 rsync://host/module/foo/bar/./baz/dir with -R, rsync will now only
56961bec
WD
97 replicate the "baz/dir" part of the source path (note: a trailing
98 dot dir is unaffected unless it also has a trailing slash).
99
a912a980
WD
100 - Added some new --no-FOO options that make it easier to override
101 unwanted implied or default options. For example, "-a --no-o" (aka
102 "--archive --no-owner") can be used to turn off the preservation of
103 file ownership that is implied by -a.
104
ef3bb69a
WD
105 - Added the --chmod=MODE option that allows the destination permissions
106 to be changed from the source permissions. E.g. --chmod=g+w,o-rwx
107
ec69bdbd
WD
108 - Allow the --temp-dir option to be specified when starting a daemon,
109 which sets the default temporary directory for incoming files.
110
ce0da32a
WD
111 - If --delete is combined with --dirs without --recursive, rsync will
112 now delete in any directory whose content is being synchronized.
113
2067ec73 114 - If --backup is combined with --delete without --backup-dir (and
0ee32c62 115 without --delete-excluded), we add a "protect" filter-rule to ensure
2067ec73
WD
116 that files with the backup suffix are not deleted.
117
3b153409
WD
118 - The file-count stats that are output by --progress were improved to
119 better indicate what the numbers mean. For instance, the output:
0ee32c62
WD
120 "(xfer#5, to-check=8383/9999)" indicates that this was the fifth file
121 to be transferred, and we still need to check 8383 more files out of
122 a total of 9999.
3b153409 123
d37bc73a
WD
124 - The include/exclude code now allows a dir/*** directive (with 3
125 trailing stars) to match both the dir itself as well as all the
126 content below the dir (dir/** would not match the dir).
127
458aeea4
WD
128 - If the --itemize-changes (-i) option is repeated, rsync now includes
129 unchanged files in the itemized output (similar to -vv, but without
130 all the other verbose messages that can get in the way). Of course,
131 the client must be version 2.6.7 for this to work, but the remote
132 rsync only needs to be 2.6.7 if you're pushing files.
133
f5b14759
WD
134 - Added the --super option to make the receiver always attempt super-
135 user activities. This is useful for systems that allow things such
136 as devices to be created or ownership to be set without being UID 0,
137 and is also useful for someone who wants to ensure that errors will
138 be output if the receiving rsync isn't being run as root.
139
e3f83953
WD
140 - Some minor documentation improvements.
141
0417c34e
WD
142 - Updated some diffs in the patches dir.
143
5b9cc695
WD
144 INTERNAL:
145
146 - Some buffer sizes were expanded a bit, particularly on systems where
147 MAXPATHLEN is overly small (e.g. cygwin).
148
149 - If io_printf() tries to format more data than fits in the buffer, exit
150 with an error instead of transmitting a truncated buffer.
ce0da32a 151
d409c6ac
WD
152 - If a va_copy macro is defined, lib/snprintf.c will use it when defining
153 the VA_COPY macro.
154
b1b04fcd
WD
155 - Reduced the amount of stack memory needed for each level of directory
156 recursion by nearly MAXPATHLEN bytes.
157
d37bc73a
WD
158 - The wildmatch function was extended to allow an array of strings to
159 be supplied as the string to match. This allows the exclude code to
160 do less string copying.
161
162 - Got rid of the safe_fname() function (and all the myriad calls) and
163 replaced it with a new function in the log.c code that filters all
164 the output going to the terminal.
165
166 - Unified the f_name() and the f_name_to() functions.
167
ce0da32a
WD
168 DEVELOPER RELATED:
169
170 - Several diffs in the patches dir now use the proper --enable-FOO
171 configure option instead of --with-FOO to turn on the inclusion of
172 the newly patched feature.
173