Commit Graph

  • 8cd3db27b6 There is no longer a need to check file->link_u.links at the start of hard_link_check() (because the caller has already checked it). Wayne Davison 2005-07-31 23:19:42 +00:00
  • 273a7ed59f Fixed the handling of hard-linked symlinks and devices. Wayne Davison 2005-07-31 23:18:28 +00:00
  • 23deb0bcee Export RUNSHFLAGS. Wayne Davison 2005-07-31 23:15:38 +00:00
  • 7ea7bebf6b Mention the --inplace new-file permissions fix. Wayne Davison 2005-07-30 16:17:21 +00:00
  • 97894c6473 - The combination of --update and --progress now outputs progress information during the checksum scan of the already-sent data. - When --inplace creates a file, give it 0600 permissions, not 0000. Wayne Davison 2005-07-30 16:14:22 +00:00
  • 1f86fcf5dc The combination of --update and --progress now outputs progress information during the checksum scan of the already-sent data. Wayne Davison 2005-07-30 16:13:19 +00:00
  • bb9bdba4c9 Improved the text around the last example in the USAGE section. Wayne Davison 2005-07-29 19:52:50 +00:00
  • 5b9cc6953a Mention the latest changes. Wayne Davison 2005-07-29 18:48:58 +00:00
  • 33544bf422 - Use BIGPATHBUFLEN for the length of several buffers. - If io_printf() tries to overflow the buffer, die with an error instead of sending a truncated buffer. Wayne Davison 2005-07-29 18:31:12 +00:00
  • 20accf4d06 - Use BIGPATHBUFLEN for the length of two line buffers. - Improved the handling of the start_glob variable. - Made the line buffer in start_daemon() a little bigger. Wayne Davison 2005-07-29 18:31:10 +00:00
  • 3fac51e21e Use BIGPATHBUFLEN for the length of two line buffers. Wayne Davison 2005-07-29 18:31:07 +00:00
  • d999d312c4 Use BIGPATHBUFLEN for the length of a line buffer. Wayne Davison 2005-07-29 18:31:05 +00:00
  • a22ca88565 Define BIGPATHBUFLEN -- a roomy line-buffer that can hold a MAXPATHLEN string plus a message, and it's at least 4096+1024 bytes for those systems where MAXPATHLEN is overly short. Wayne Davison 2005-07-29 18:31:03 +00:00
  • 9ec8bd87bb Updated to match 2.6.6 release (which occurred on a branch). Wayne Davison 2005-07-28 20:00:43 +00:00
  • f11ece28ff Changed the version to 2.6.7cvs. Wayne Davison 2005-07-28 19:49:47 +00:00
  • f90f71498e Updated to reflect new 2.6.7cvs status. Wayne Davison 2005-07-28 19:49:24 +00:00
  • c02f4b232a Preparing for release of 2.6.6 v2.6.6 Wayne Davison 2005-07-28 19:31:55 +00:00
  • d8edb8c614 Mentioned the final changes. Wayne Davison 2005-07-28 19:24:22 +00:00
  • 29050a2565 Incorporate the improvements made to the daemon/remote-shell sections. Wayne Davison 2005-07-28 19:19:47 +00:00
  • 04a13dd408 A fix for the itemized output to prevent superfluous 'p' flags. Wayne Davison 2005-07-28 19:06:03 +00:00
  • 32199c6b00 Removed a duplicated item. Wayne Davison 2005-07-28 18:17:56 +00:00
  • 870dddc5eb Mention the recent changes. Wayne Davison 2005-07-28 17:42:56 +00:00
  • 9d0d18b590 If the user has specified "pre-xfer exec" or "post-xfer exec", run the indicated command(s), each at the appropriate time. Wayne Davison 2005-07-28 17:15:47 +00:00
  • bec617b934 Added 2 new config options: "pre-xfer exec" and "post-xfer exec". Wayne Davison 2005-07-28 17:15:44 +00:00
  • c20936b88b Document the new pre-/post-xfer exec config options. Wayne Davison 2005-07-28 17:15:42 +00:00
  • 0869881764 Regenerated. Wayne Davison 2005-07-28 16:58:04 +00:00
  • a840b5c736 Removed one more client-oriented command-line syntax sentence. Wayne Davison 2005-07-28 09:40:08 +00:00
  • 2907884f94 Removed erroneous section on using daemon features over a remote-shell connection -- client-use is better described in the rsync manpage, and the advanced restricted-ssh section needs a better treatment (perhaps as a support script). Wayne Davison 2005-07-28 09:36:12 +00:00
  • 754a080ffc Improved the sections dicussing the various types of transfer connections and how a normal transfer differs from a daemon transfer. Wayne Davison 2005-07-28 09:18:20 +00:00
  • 94f20a9f45 Document new --append option. Wayne Davison 2005-07-28 01:46:16 +00:00
  • 6cc1198288 Support new --append option. Wayne Davison 2005-07-28 01:46:12 +00:00
  • a015788d21 Added the --append option. Wayne Davison 2005-07-28 01:46:09 +00:00
  • c8d3465726 - Call set_modtime() with its new mode arg. - Don't mask the mode bits being sent to do_chmod(). - Don't skip calling set_modtime() or do_chmod() when the item is a symlink. Wayne Davison 2005-07-27 23:30:58 +00:00
  • 00b9618460 - Fixed the mode comparison in itemize() to mask off the bits outside of the CHMOD_BITS mask. - Don't call do_chmod() unless HAVE_CHMOD is defined. - Don't mask the mode bits being sent to do_chmod(). Wayne Davison 2005-07-27 23:30:55 +00:00
  • d11f5c6e2b - Don't call do_chmod() unless HAVE_CHMOD is defined. - Made do_chmod() handle symlinks or return 1 if not possible. - We now mask off the mode bits in do_chmod() sing CHMOD_BITS. Wayne Davison 2005-07-27 23:30:53 +00:00
  • 25007999df - Changed set_modtime() to take the file's mode as an arg. - Made set_modtime() handle symlinks or return 1 if not possible. Wayne Davison 2005-07-27 23:30:51 +00:00
  • 8ce6546310 Check for the lchmod() and lutimes() functions. Wayne Davison 2005-07-27 23:18:28 +00:00
  • 151f59f155 Tweaked a comment and some null-char assignments. Wayne Davison 2005-07-22 19:09:45 +00:00
  • 89f2a4c231 Changed implied_dirs to only be non-0 if relative_paths is non-0. Wayne Davison 2005-07-22 19:05:25 +00:00
  • 496be30db6 Got rid of some unused externs. Wayne Davison 2005-07-22 17:59:21 +00:00
  • cd426074e1 Updated to zlib 1.2.3. Wayne Davison 2005-07-22 15:54:43 +00:00
  • 3f7bfac2a0 Avoid newest test when no destination was specified. Wayne Davison 2005-07-15 19:10:03 +00:00
  • 9425918d74 Output a syntax error if both the source and destination are remote. Wayne Davison 2005-07-15 19:06:43 +00:00
  • cc637fcc51 Preparing for release of 2.6.6pre1 v2.6.6pre1 Wayne Davison 2005-07-07 22:53:59 +00:00
  • 9db1743490 Mentioned the zlib changes and tweaked a couple sentences. Wayne Davison 2005-07-07 22:50:12 +00:00
  • ba3542cfcb - Attempt to make the discussion of host-specifying args less confusing. - Fixed the names of the uid and gid daemon options in a sentence. Wayne Davison 2005-07-07 21:33:40 +00:00
  • 81f5b275db Changes for new zlib. Wayne Davison 2005-07-07 21:29:57 +00:00
  • f3ee726894 Fixed a typo. Wayne Davison 2005-07-07 21:19:14 +00:00
  • b5be9e6c5f Fix latest zlib security exploit (CAN-2005-2096). Wayne Davison 2005-07-07 21:14:29 +00:00
  • 1e1cf68934 Upgraded to version 1.2.2. Wayne Davison 2005-07-07 20:48:02 +00:00
  • 4a2744cee3 One more "#undef BAD" for AIX. Wayne Davison 2005-07-07 20:37:31 +00:00
  • 12febd804f Use a define to handle conflicting function read_buf instead of renaming it in the code. Wayne Davison 2005-07-07 20:17:35 +00:00
  • 687c6b14a0 Changed "Overflow" back to "overflow". Wayne Davison 2005-07-07 20:16:41 +00:00
  • a1f99493b3 Changed overflow() to overflow_exit(). Wayne Davison 2005-07-07 19:49:14 +00:00
  • 9819f005b6 Changed zBAD back to BAD (with a simpler kluge for AIX). Wayne Davison 2005-07-07 19:31:23 +00:00
  • 2a6793bf1f Fixed some whitespace to match the original source. Wayne Davison 2005-07-07 19:22:55 +00:00
  • bf287ee946 Got rid of bogus RCS keyword expansions (that create differences between these files and the original zlib source). Wayne Davison 2005-07-07 19:15:44 +00:00
  • b8b0668e85 Mention the EEXIST fix. Wayne Davison 2005-06-30 17:18:30 +00:00
  • 092906933b Ignore EEXIST on second mkdir() call. Wayne Davison 2005-06-30 17:03:14 +00:00
  • e8432be95f Mention the latest time-comparing fixes. Wayne Davison 2005-06-28 00:15:44 +00:00
  • 6ff2f4ba67 Use cmp_modtime() in a couple more spots where a local modtime is compared with a remote modtime. Wayne Davison 2005-06-28 00:12:08 +00:00
  • 309a5be873 Fixed test to work when objdir != srcdir (thanks to Art Haas). Wayne Davison 2005-06-24 02:14:12 +00:00
  • 26c87bb630 Changed the arg-splitting code so that it can handle a literal backslash prior to whitespace without treating it as escaped whitespace (e.g. if we receive "foo\\ bar", it is two args, while "foo\ bar" and "foo\\\ bar" are each just one). Wayne Davison 2005-06-23 15:58:57 +00:00
  • ea9b2add97 Tweaked a comment in the perl code we output. Wayne Davison 2005-06-23 15:53:26 +00:00
  • 301569f081 Improved a couple sentences. Wayne Davison 2005-06-20 07:01:29 +00:00
  • b21456102a Changed the code to use the single long-option hash from cull_options. Wayne Davison 2005-06-17 23:23:00 +00:00
  • b8a47c9bc6 - Fixed a bug where the --*-dest options weren't being culled. - Simplified the output format by putting all the long-name options into a single hash. Wayne Davison 2005-06-17 23:16:22 +00:00
  • 85fbfa10a8 - Improved some comments (some taken from the new cull-options output). - Made the user-config sections easier to find. - Default to running a fully-specified rsync executable so that there are not PATH surprises. - A few minor tweaks to the arg-checking code to make it clearer without actually changing its logic. Wayne Davison 2005-06-17 16:48:02 +00:00
  • 555bc0e31a Another readability improvement in the perl code we output. Wayne Davison 2005-06-17 16:29:21 +00:00
  • ef1233cbb3 Improved some of the comments that are output into the perl code. Wayne Davison 2005-06-17 16:12:05 +00:00
  • 1524815ed3 - Make sure that the command contained the '.' arg at the end of the options. - Fixed the expanding of wildcards for a restriction of '/'. Wayne Davison 2005-06-17 05:14:15 +00:00
  • 985af7035e - Be restrictive on matching the --sender option so that the user can't fool us into thinking we're the sender by using a filename of --sender (or similar ploy). - Make sure that our '..' check can't be fooled by sly backslashing. - Tweaked some comments. Wayne Davison 2005-06-17 04:50:22 +00:00
  • b3181708f2 Output a leading comment and surrounding blank lines. Wayne Davison 2005-06-17 04:46:02 +00:00
  • 3f6c17cf14 Mention rrsync changes. Wayne Davison 2005-06-17 01:26:33 +00:00
  • 2e5a7629c0 If SUBDIR is specified as a non-absolute path, make it absolute. Wayne Davison 2005-06-17 01:17:44 +00:00
  • 70318468df - Made it easy to configure the path of the rsync executable. - Fully parse all legal options that might come from a stock rsync and validate/restrict any option's args (previously we rejected options with args). - Made it easy to disable specific options. - Properly handle a multi-arg copy's multiple args. - Make sure that the restricted dir actually exists and we can chdir to it. - Just reject any dangerous args that have .. in them instead of trying to munge them. - We don't treat single-or double-quotes specially, just backslash- escaped characters. - Turn on strict mode. - Use the array-arg version of exec() so that we don't spawn a shell. - Use File::Glob to glob wildcards in args. - Tweaked the log-file format so that it logs the modified command without any "OK" suffix. Wayne Davison 2005-06-16 19:30:53 +00:00
  • 782d109121 A developer-oriented script that outputs perl code for valid server options. Wayne Davison 2005-06-16 19:17:47 +00:00
  • 30e7b0b28d Mention latest fix. Wayne Davison 2005-06-12 06:10:14 +00:00
  • 910ee8c92e In clean_flist(), fixed the setting of the flist->high value for an empty list so that it can't cause a crash if it gets passed to flist_find(). Wayne Davison 2005-06-12 06:07:23 +00:00
  • 8af1bc9011 - Added a comment to the filter_outfile function. - Twiddled where the calls to filter_outfile happen. Wayne Davison 2005-06-10 23:36:57 +00:00
  • 6a12f0d619 Simplified the regular expressions for sed due to problems on some OSes. Wayne Davison 2005-06-10 21:56:52 +00:00
  • 4f3be36e30 - Put the output we're expecting into an rsync.chk file, for easier debugging on failures. - Added the function filter_outfile() and used it in place of the various output-filtering commands. - Use the sed rules for filtering the combination of --itemized output with double-verbose output so that we're sure there's no superfluous lines being output (which the old grep filtering would have ignored). Wayne Davison 2005-06-10 20:33:57 +00:00
  • fc9d64c947 Several expansions of $srcdir were not double-quoted. Wayne Davison 2005-06-10 20:04:42 +00:00
  • db10766ab2 One expansion of $srcdir wasn't double-quoted. Wayne Davison 2005-06-10 20:04:11 +00:00
  • a3dcb79085 One more instance of the umask kluge was needed. Wayne Davison 2005-06-10 18:02:14 +00:00
  • 20667b6d7f Mention backup change. Wayne Davison 2005-06-10 17:58:39 +00:00
  • 93e28fbd99 Fixed a problem in the backing up of symlinks and devices: we need to remove any old symlink/device/file to create the backup. Also fixed a couple minor logic errors in the handling of symlinks and devices. NOTE: the code still doesn't handle the changing of a name from a dir to a non-dir or visa versa (which is a very old deficiency in the code). Wayne Davison 2005-06-10 17:57:18 +00:00
  • 87a57a3072 Use umask kluge from rsync.fns to try to get rid of a potential permissions difference when copying symlinks. Wayne Davison 2005-06-10 17:51:33 +00:00
  • bad1fa4476 Make the sed commands compatible with Solaris (hopefully). Wayne Davison 2005-06-10 17:21:52 +00:00
  • 8fe27e7631 Starting NEWS for 2.6.6. Wayne Davison 2005-06-10 17:17:38 +00:00
  • a1c75ed05c Aged news from NEWS file. Wayne Davison 2005-06-10 17:17:24 +00:00
  • e73ad2be54 Got rid of some potentially unhandled permissions differences. Wayne Davison 2005-06-10 17:06:43 +00:00
  • 59b0e7a82d Changed the "max verbosity" setting from global to per-module. Wayne Davison 2005-06-10 16:57:43 +00:00
  • b4fc3987f2 Use the new NOBODY_USER and NOBODY_GROUP configure defines. Wayne Davison 2005-06-10 16:50:09 +00:00
  • 58418cb0c4 Added a simple check to see if the /etc/group file has the group "nobody" or "nogroup". Wayne Davison 2005-06-10 16:46:50 +00:00
  • 5794112ad0 Test that our outputting of itemized messages (as well as double-verbose output) is happening correctly. Wayne Davison 2005-06-09 22:27:59 +00:00
  • f2b6fe44a6 - Fixed the overzealous outputting of unchanged hard-linked items when verbose > 1. - An unchanged hard-link with -i (log-format w/%i) now changes the trailing dots to spaces. Wayne Davison 2005-06-09 22:27:22 +00:00
  • 215b444cae Don't set ITEM_REPORT_TIME when a hard-linked file is already linked up as it should be and --times was not enabled. Wayne Davison 2005-06-09 21:57:45 +00:00
  • a45f581b2a - Never output the '"FOO" is a hard link' message when -i (%i) output is enabled. - Go back to outputting '"FOO" is a hard link' message when -i (%i) is not enabled and verbose > 1. Wayne Davison 2005-06-09 21:56:11 +00:00
  • dfdd71ecff Updated version to 2.6.6cvs. Wayne Davison 2005-06-09 21:18:26 +00:00