Wayne Davison
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).
2005-07-28 09:36:12 +00:00
Wayne Davison
754a080ffc
Improved the sections dicussing the various types of transfer
...
connections and how a normal transfer differs from a daemon
transfer.
2005-07-28 09:18:20 +00:00
Wayne Davison
94f20a9f45
Document new --append option.
2005-07-28 01:46:16 +00:00
Wayne Davison
6cc1198288
Support new --append option.
2005-07-28 01:46:12 +00:00
Wayne Davison
a015788d21
Added the --append option.
2005-07-28 01:46:09 +00:00
Wayne Davison
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.
2005-07-27 23:30:58 +00:00
Wayne Davison
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().
2005-07-27 23:30:55 +00:00
Wayne Davison
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.
2005-07-27 23:30:53 +00:00
Wayne Davison
25007999df
- Changed set_modtime() to take the file's mode as an arg.
...
- Made set_modtime() handle symlinks or return 1 if not possible.
2005-07-27 23:30:51 +00:00
Wayne Davison
8ce6546310
Check for the lchmod() and lutimes() functions.
2005-07-27 23:18:28 +00:00
Wayne Davison
151f59f155
Tweaked a comment and some null-char assignments.
2005-07-22 19:09:45 +00:00
Wayne Davison
89f2a4c231
Changed implied_dirs to only be non-0 if relative_paths is non-0.
2005-07-22 19:05:25 +00:00
Wayne Davison
496be30db6
Got rid of some unused externs.
2005-07-22 17:59:21 +00:00
Wayne Davison
cd426074e1
Updated to zlib 1.2.3.
2005-07-22 15:54:43 +00:00
Wayne Davison
3f7bfac2a0
Avoid newest test when no destination was specified.
2005-07-15 19:10:03 +00:00
Wayne Davison
9425918d74
Output a syntax error if both the source and destination are remote.
2005-07-15 19:06:43 +00:00
Wayne Davison
cc637fcc51
Preparing for release of 2.6.6pre1
v2.6.6pre1
2005-07-07 22:53:59 +00:00
Wayne Davison
9db1743490
Mentioned the zlib changes and tweaked a couple sentences.
2005-07-07 22:50:12 +00:00
Wayne Davison
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.
2005-07-07 21:33:40 +00:00
Wayne Davison
81f5b275db
Changes for new zlib.
2005-07-07 21:29:57 +00:00
Wayne Davison
f3ee726894
Fixed a typo.
2005-07-07 21:19:14 +00:00
Wayne Davison
b5be9e6c5f
Fix latest zlib security exploit (CAN-2005-2096).
2005-07-07 21:14:29 +00:00
Wayne Davison
1e1cf68934
Upgraded to version 1.2.2.
2005-07-07 20:48:02 +00:00
Wayne Davison
4a2744cee3
One more "#undef BAD" for AIX.
2005-07-07 20:37:31 +00:00
Wayne Davison
12febd804f
Use a define to handle conflicting function read_buf instead of
...
renaming it in the code.
2005-07-07 20:17:35 +00:00
Wayne Davison
687c6b14a0
Changed "Overflow" back to "overflow".
2005-07-07 20:16:41 +00:00
Wayne Davison
a1f99493b3
Changed overflow() to overflow_exit().
2005-07-07 19:49:14 +00:00
Wayne Davison
9819f005b6
Changed zBAD back to BAD (with a simpler kluge for AIX).
2005-07-07 19:31:23 +00:00
Wayne Davison
2a6793bf1f
Fixed some whitespace to match the original source.
2005-07-07 19:22:55 +00:00
Wayne Davison
bf287ee946
Got rid of bogus RCS keyword expansions (that create differences
...
between these files and the original zlib source).
2005-07-07 19:15:44 +00:00
Wayne Davison
b8b0668e85
Mention the EEXIST fix.
2005-06-30 17:18:30 +00:00
Wayne Davison
092906933b
Ignore EEXIST on second mkdir() call.
2005-06-30 17:03:14 +00:00
Wayne Davison
e8432be95f
Mention the latest time-comparing fixes.
2005-06-28 00:15:44 +00:00
Wayne Davison
6ff2f4ba67
Use cmp_modtime() in a couple more spots where a local modtime is
...
compared with a remote modtime.
2005-06-28 00:12:08 +00:00
Wayne Davison
309a5be873
Fixed test to work when objdir != srcdir (thanks to Art Haas).
2005-06-24 02:14:12 +00:00
Wayne Davison
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).
2005-06-23 15:58:57 +00:00
Wayne Davison
ea9b2add97
Tweaked a comment in the perl code we output.
2005-06-23 15:53:26 +00:00
Wayne Davison
301569f081
Improved a couple sentences.
2005-06-20 07:01:29 +00:00
Wayne Davison
b21456102a
Changed the code to use the single long-option hash from cull_options.
2005-06-17 23:23:00 +00:00
Wayne Davison
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.
2005-06-17 23:16:22 +00:00
Wayne Davison
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.
2005-06-17 16:48:02 +00:00
Wayne Davison
555bc0e31a
Another readability improvement in the perl code we output.
2005-06-17 16:29:21 +00:00
Wayne Davison
ef1233cbb3
Improved some of the comments that are output into the perl code.
2005-06-17 16:12:05 +00:00
Wayne Davison
1524815ed3
- Make sure that the command contained the '.' arg at the end of the
...
options.
- Fixed the expanding of wildcards for a restriction of '/'.
2005-06-17 05:14:15 +00:00
Wayne Davison
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.
2005-06-17 04:50:22 +00:00
Wayne Davison
b3181708f2
Output a leading comment and surrounding blank lines.
2005-06-17 04:46:02 +00:00
Wayne Davison
3f6c17cf14
Mention rrsync changes.
2005-06-17 01:26:33 +00:00
Wayne Davison
2e5a7629c0
If SUBDIR is specified as a non-absolute path, make it absolute.
2005-06-17 01:17:44 +00:00
Wayne Davison
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.
2005-06-16 19:30:53 +00:00
Wayne Davison
782d109121
A developer-oriented script that outputs perl code for valid server
...
options.
2005-06-16 19:17:47 +00:00