Wayne Davison [Tue, 31 Jan 2006 03:04:00 +0000 (03:04 +0000)]
Moved --chmod in the help output.
Wayne Davison [Tue, 31 Jan 2006 02:30:09 +0000 (02:30 +0000)]
When permissions aren't being preserved, set them via the new
dest_mode() function.
Wayne Davison [Tue, 31 Jan 2006 02:30:05 +0000 (02:30 +0000)]
Got rid of the orig_umask-based file->mode tweak in receive_file()
(which got moved into the dest_mode() function).
Wayne Davison [Tue, 31 Jan 2006 02:30:02 +0000 (02:30 +0000)]
Added the dest_mode() function: it figures out the permissions for
a file when we aren't preserving permissions, including the honoring
of the new --executability option.
Wayne Davison [Tue, 31 Jan 2006 02:29:58 +0000 (02:29 +0000)]
Added the --executability (-E) option.
Wayne Davison [Tue, 31 Jan 2006 02:29:55 +0000 (02:29 +0000)]
Documented the new --executability (-E) option, with improvements
to the --perms and --chmod sections as well.
Wayne Davison [Tue, 31 Jan 2006 02:26:49 +0000 (02:26 +0000)]
Mention the chmod utility's manpage number.
Wayne Davison [Mon, 30 Jan 2006 22:10:33 +0000 (22:10 +0000)]
Mention that --chmod's work can still be masked by the receiving
end's umask when permissions are not being preserved.
Wayne Davison [Mon, 30 Jan 2006 21:54:00 +0000 (21:54 +0000)]
Mention files-to-excludes.
Wayne Davison [Mon, 30 Jan 2006 21:52:17 +0000 (21:52 +0000)]
This perl script automates the conversion of a list of pathnames
to a set of includes/excludes needed for rsync to copy just the
listed files.
Wayne Davison [Mon, 30 Jan 2006 21:47:23 +0000 (21:47 +0000)]
Mentioned the new "outgoing chmod" daemon option.
Wayne Davison [Mon, 30 Jan 2006 21:47:08 +0000 (21:47 +0000)]
Documented the new "outgoing chmod" daemon option.
Wayne Davison [Mon, 30 Jan 2006 21:47:02 +0000 (21:47 +0000)]
Added support for the new "outgoing chmod" daemon option.
Wayne Davison [Mon, 30 Jan 2006 20:09:46 +0000 (20:09 +0000)]
Mentioned the early-EOF bugfix (which was fixed a while ago).
Wayne Davison [Mon, 30 Jan 2006 18:46:17 +0000 (18:46 +0000)]
Improved the documentation for --force.
Wayne Davison [Mon, 30 Jan 2006 18:45:57 +0000 (18:45 +0000)]
I realized that there were instances where --force could still be
required to be combined with a delete option (if a non-dir was
overwriting a dir in a directory that was not included in the
transfer), so I extended the change I just made for --delete-after
to include all delete modes.
Wayne Davison [Mon, 30 Jan 2006 18:35:54 +0000 (18:35 +0000)]
Allow --force to work even if --recurse was not specified.
Wayne Davison [Mon, 30 Jan 2006 18:32:47 +0000 (18:32 +0000)]
Made get_dirlist() always include directories.
Wayne Davison [Mon, 30 Jan 2006 18:19:55 +0000 (18:19 +0000)]
Mention the latest improvements.
Wayne Davison [Mon, 30 Jan 2006 18:14:02 +0000 (18:14 +0000)]
Allow a non-empty dir to be overwritten by a non-dir with all the
delete options (--delete-after used to require --force).
Wayne Davison [Mon, 30 Jan 2006 17:53:38 +0000 (17:53 +0000)]
If the module has defined an "incoming chmod" option, call
parse_chmod() on it.
Wayne Davison [Mon, 30 Jan 2006 17:53:32 +0000 (17:53 +0000)]
Added the "incoming chmod" config option.
Wayne Davison [Mon, 30 Jan 2006 17:53:27 +0000 (17:53 +0000)]
Document the new "incoming chmod" config option.
Wayne Davison [Mon, 30 Jan 2006 17:53:19 +0000 (17:53 +0000)]
Call the parse_chmod() with its new syntax.
Wayne Davison [Mon, 30 Jan 2006 17:53:13 +0000 (17:53 +0000)]
Changed the way the parse_chmod() function is called.
Wayne Davison [Mon, 30 Jan 2006 17:39:43 +0000 (17:39 +0000)]
Added extern for io_write_phase.
Wayne Davison [Mon, 30 Jan 2006 17:39:34 +0000 (17:39 +0000)]
- Got rid of the externs for io_read_phase and io_write_phase.
- Added stub definition for chmod_mode_struct.
Wayne Davison [Mon, 30 Jan 2006 08:12:17 +0000 (08:12 +0000)]
Moved the filter_outfile() function to rsync.fns.
Wayne Davison [Mon, 30 Jan 2006 08:11:50 +0000 (08:11 +0000)]
Moved the filter_outfile() function here since it was identical
in devices.test and itemize.test.
Wayne Davison [Mon, 30 Jan 2006 07:18:16 +0000 (07:18 +0000)]
The robust_rename() function now takes a "partialptr" arg that, if
non-NULL, will be used if we are forced to copy the file.
Wayne Davison [Mon, 30 Jan 2006 07:18:13 +0000 (07:18 +0000)]
The finish_transfer() function now takes a "partialptr" arg that, if
non-NULL, will be used if robust_rename() is forced to copy the temp
file.
Wayne Davison [Mon, 30 Jan 2006 07:18:10 +0000 (07:18 +0000)]
Call finish_transfer() with a valid partialptr string, when
appropriate.
Wayne Davison [Mon, 30 Jan 2006 07:18:06 +0000 (07:18 +0000)]
Call finish_transfer() with its newly-added arg.
Wayne Davison [Mon, 30 Jan 2006 07:18:03 +0000 (07:18 +0000)]
Call robust_rename() with its newly-added arg.
Wayne Davison [Mon, 30 Jan 2006 07:18:00 +0000 (07:18 +0000)]
Document the side-effect that --partial-dir can have on --temp-dir.
Wayne Davison [Mon, 30 Jan 2006 06:34:57 +0000 (06:34 +0000)]
More improvements to --temp-dir.
Wayne Davison [Mon, 30 Jan 2006 00:39:59 +0000 (00:39 +0000)]
Changed the mode arg from an int to a mode_t.
Wayne Davison [Sun, 29 Jan 2006 20:31:59 +0000 (20:31 +0000)]
Improved the --temp-dir description and a couple other sentences.
Wayne Davison [Sun, 29 Jan 2006 20:30:24 +0000 (20:30 +0000)]
- Renamed set_perms() to set_file_attrs().
- Use the renamed PERMS_* defines: ATTRS_*.
Wayne Davison [Sun, 29 Jan 2006 20:30:18 +0000 (20:30 +0000)]
- Use the renamed PERMS_* defines: ATTRS_*.
- Call the new name of set_perms(): set_file_attrs().
Wayne Davison [Sun, 29 Jan 2006 20:30:12 +0000 (20:30 +0000)]
Call the new name of set_perms(): set_file_attrs().
Wayne Davison [Sun, 29 Jan 2006 20:30:07 +0000 (20:30 +0000)]
Renamed the PERMS_* defines to ATTRS_* defines.
Wayne Davison [Sun, 29 Jan 2006 20:30:02 +0000 (20:30 +0000)]
Use PERMSTRING_SIZE rather than a hard-wired "11".
Wayne Davison [Sun, 29 Jan 2006 19:17:13 +0000 (19:17 +0000)]
No need to send --partial when we're the receiver.
Wayne Davison [Sun, 29 Jan 2006 18:52:53 +0000 (18:52 +0000)]
Made a bunch of char* args const.
Wayne Davison [Sun, 29 Jan 2006 07:19:38 +0000 (07:19 +0000)]
Avoid forwarding the --temp-dir option to the server when we're
the receiver.
Wayne Davison [Sat, 28 Jan 2006 19:20:02 +0000 (19:20 +0000)]
Made the new --prune-empty-dirs code a little more memory efficient.
Wayne Davison [Sat, 28 Jan 2006 08:12:16 +0000 (08:12 +0000)]
Tweaked a variable name in flist_find().
Wayne Davison [Sat, 28 Jan 2006 07:40:52 +0000 (07:40 +0000)]
We enforce at least protocol 29 for --prune-empty-dirs because the
file-list's sort order can be slightly wrong in older versions.
Wayne Davison [Sat, 28 Jan 2006 01:55:55 +0000 (01:55 +0000)]
Don't add the "protect" filter rule for backup-suffix filenames
if --backup was not specified.
Wayne Davison [Sat, 28 Jan 2006 00:14:02 +0000 (00:14 +0000)]
- We need to send exclude info from the client to a server-receiver
when --prune-empty-dirs was specified.
- Changed the output of debug include/exclude/show/hide/risk/protect
messages to use the appropriate filter terminology instead of
always using the (potentially unclear) include/exclude terms.
Wayne Davison [Sat, 28 Jan 2006 00:13:59 +0000 (00:13 +0000)]
The user can now use a "protect" filter to avoid pruning one or
more empty directories when --prune-empty-dirs is in effect.
Wayne Davison [Sat, 28 Jan 2006 00:13:55 +0000 (00:13 +0000)]
Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m).
Wayne Davison [Sat, 28 Jan 2006 00:13:52 +0000 (00:13 +0000)]
Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m) and
improved the docs a bit more, including documenting how "protect"
filtering affects empty dirs.
Wayne Davison [Fri, 27 Jan 2006 14:29:58 +0000 (14:29 +0000)]
Improved flist_find()'s empty-entry handling to deal with the case
where more entries may have been removed since the last find.
Wayne Davison [Fri, 27 Jan 2006 12:59:07 +0000 (12:59 +0000)]
Optimized flist_find() so that we never scan a series of empty
file-list items twice (which can be very important with the new
--skip-empty-dirs option). Also optimized the code that strips
root slashes in clean_flist().
Wayne Davison [Fri, 27 Jan 2006 01:20:11 +0000 (01:20 +0000)]
Mention the --skip-empty-dirs option.
Wayne Davison [Fri, 27 Jan 2006 00:32:57 +0000 (00:32 +0000)]
Implement the new --skip-empty-dirs (-k) option.
Wayne Davison [Fri, 27 Jan 2006 00:32:53 +0000 (00:32 +0000)]
Added the --skip-empty-dirs (-k) option.
Wayne Davison [Fri, 27 Jan 2006 00:32:49 +0000 (00:32 +0000)]
Document the new --skip-empty-dirs (-k) option.
Wayne Davison [Thu, 26 Jan 2006 22:32:59 +0000 (22:32 +0000)]
Include popt.h using <popt.h> instead of "popt.h".
Wayne Davison [Thu, 26 Jan 2006 22:32:18 +0000 (22:32 +0000)]
Mention the change in the --itemize-changes output.
Wayne Davison [Thu, 26 Jan 2006 22:28:08 +0000 (22:28 +0000)]
- Include popt.h using <popt.h>, not "popt.h".
- A minor twiddle in server_options().
Wayne Davison [Thu, 26 Jan 2006 22:10:08 +0000 (22:10 +0000)]
Mention --sockopts and an improvement to the testsuite environment.
Wayne Davison [Thu, 26 Jan 2006 21:23:25 +0000 (21:23 +0000)]
The setting of HOME got moved to rsync.fns.
Wayne Davison [Thu, 26 Jan 2006 21:22:57 +0000 (21:22 +0000)]
Set $HOME to $scratchdir so that our tests are not affected by
anything unexpected, such as a ~/.popt file.
Wayne Davison [Thu, 26 Jan 2006 12:41:52 +0000 (12:41 +0000)]
Fixed two typos.
Wayne Davison [Thu, 26 Jan 2006 12:31:47 +0000 (12:31 +0000)]
Make use of the new sockopts variable.
Wayne Davison [Thu, 26 Jan 2006 12:31:24 +0000 (12:31 +0000)]
Added the --sockopts option.
Wayne Davison [Thu, 26 Jan 2006 12:31:14 +0000 (12:31 +0000)]
Mention the --sockopts option.
Wayne Davison [Thu, 26 Jan 2006 12:30:20 +0000 (12:30 +0000)]
Document the new --sockopts option.
Wayne Davison [Thu, 26 Jan 2006 11:14:10 +0000 (11:14 +0000)]
Mentioned the --super option.
Wayne Davison [Thu, 26 Jan 2006 11:10:32 +0000 (11:10 +0000)]
Added the --super option.
Wayne Davison [Thu, 26 Jan 2006 11:10:28 +0000 (11:10 +0000)]
Document the new --super option and how it affects other options.
Wayne Davison [Thu, 26 Jan 2006 11:01:00 +0000 (11:01 +0000)]
Check MY_UID() directly instead of accessing am_root.
Wayne Davison [Thu, 26 Jan 2006 10:50:18 +0000 (10:50 +0000)]
Mention new --specials option and --devices change.
Wayne Davison [Thu, 26 Jan 2006 10:39:04 +0000 (10:39 +0000)]
The itemized output for the fifo changed.
Wayne Davison [Thu, 26 Jan 2006 10:39:01 +0000 (10:39 +0000)]
Added 'S' to the itemized output for special files.
Wayne Davison [Thu, 26 Jan 2006 10:38:58 +0000 (10:38 +0000)]
Handle separated devices and special files.
Wayne Davison [Thu, 26 Jan 2006 10:38:54 +0000 (10:38 +0000)]
Document the new --specials option and how -D and --devices now work.
Wayne Davison [Wed, 25 Jan 2006 17:34:39 +0000 (17:34 +0000)]
One more minor tweak.
Wayne Davison [Wed, 25 Jan 2006 17:10:29 +0000 (17:10 +0000)]
Decided to hold off on the potential memory savings of indexed
uid/gid pairs until the next release.
Wayne Davison [Tue, 24 Jan 2006 22:23:51 +0000 (22:23 +0000)]
Added testing of the --itemize-changes output for devices.
Wayne Davison [Tue, 24 Jan 2006 22:23:14 +0000 (22:23 +0000)]
Changed to handle removed 'a' slot in %i output.
Wayne Davison [Tue, 24 Jan 2006 22:22:17 +0000 (22:22 +0000)]
Fixed a problem in the output of %i's 'T' flag on devices and
got rid of the unused 'a' flag.
Wayne Davison [Tue, 24 Jan 2006 22:14:40 +0000 (22:14 +0000)]
Got rid of the description of 'a' in the %i flags.
Wayne Davison [Tue, 24 Jan 2006 21:40:43 +0000 (21:40 +0000)]
Got rid of some debug code.
Wayne Davison [Tue, 24 Jan 2006 21:39:10 +0000 (21:39 +0000)]
Dump some debug code.
Wayne Davison [Tue, 24 Jan 2006 19:39:09 +0000 (19:39 +0000)]
Optimized id_pair() so that clumps of IDs get handled more
efficiently.
Wayne Davison [Tue, 24 Jan 2006 19:02:55 +0000 (19:02 +0000)]
The uid & gid are now stored using an id_pair structure.
Wayne Davison [Tue, 24 Jan 2006 19:02:48 +0000 (19:02 +0000)]
Another small improvement to the --one-file-system option.
Wayne Davison [Tue, 24 Jan 2006 17:26:24 +0000 (17:26 +0000)]
The in_del_hier code needs to use lastname instead of thisname
because the latter gets cleaned and (possibly) sanitized.
Wayne Davison [Tue, 24 Jan 2006 01:07:19 +0000 (01:07 +0000)]
FERROR messages also need to leave leading newlines unmangled.
Wayne Davison [Mon, 23 Jan 2006 18:48:12 +0000 (18:48 +0000)]
Tweaked the copyright message.
Wayne Davison [Sun, 22 Jan 2006 21:04:21 +0000 (21:04 +0000)]
More improvements to the -x option (some from Matt & some from me).
Wayne Davison [Sun, 22 Jan 2006 20:37:00 +0000 (20:37 +0000)]
New -x code had some problems, so restore the old code for now
(keeping the more optimal stat() calling, though).
Wayne Davison [Sun, 22 Jan 2006 20:30:56 +0000 (20:30 +0000)]
New -x code had some problems, so restore the old code for now.
Wayne Davison [Sat, 21 Jan 2006 21:02:13 +0000 (21:02 +0000)]
Matt's disambiguation.
Wayne Davison [Sat, 21 Jan 2006 20:59:19 +0000 (20:59 +0000)]
- Got rid of the filesystem_dev variable now that --one-file-system
is handled in a new way.
- Moved a stat out of delete_in_dir() into do_delete_pass() to make
--delete-during more efficient.
- Added a missing "#ifdef SUPPORT_LINKS...#endif" block around some
symlink code.
Wayne Davison [Sat, 21 Jan 2006 20:59:16 +0000 (20:59 +0000)]
- Changed how --one-file-system works so that we can skip all mount
points (including "bind" mounts).
- The --chmod option now affects devices (only skipping symlinks).