Commit Graph

  • 9656de5d13 Call setup_iconv(). Wayne Davison 2006-02-04 22:03:44 +00:00
  • 9a31746b10 Use iconv() (when available) to allow us to output multibyte characters that are legal in the current locale. Wayne Davison 2006-02-04 22:03:39 +00:00
  • ceccbacc34 The new function setup_iconv() initializes the ic_chck var. Wayne Davison 2006-02-04 22:03:33 +00:00
  • ff2e2ccfc1 - Changed the check for iconv_open() to just iconv(). - Got rid of the --enable-iconv option for now. Wayne Davison 2006-02-04 22:03:21 +00:00
  • 12bda6f710 Don't do so much memory copying in mplex_write(). Wayne Davison 2006-02-04 21:52:32 +00:00
  • c53b6fd0ac In the compatibility comments: mention why we don't use grep -q. Wayne Davison 2006-02-04 19:44:19 +00:00
  • b31243b472 Test directory setgid inheritence when --perms is not in effect. Wayne Davison 2006-02-04 19:42:47 +00:00
  • c8d19f90a6 Added a missing '(' in the opening comments. Wayne Davison 2006-02-04 19:29:13 +00:00
  • 114bafe0d0 Added a special permission (o+t) to one of the files in the test. Wayne Davison 2006-02-04 19:28:45 +00:00
  • 5ef8c5c6d4 Tweaked a function declaraion. Wayne Davison 2006-02-04 19:27:07 +00:00
  • 9b499e9537 - When not preserving permissions, ensure that a newly-created directory's inherited sgid bit is preserved. - When not preserving permissions, ensure that newly-created files/dirs don't inherit any special permissions. Wayne Davison 2006-02-04 19:09:46 +00:00
  • 00f00f846b Ignore setfacl unless it tells us that it supports the -k option. Wayne Davison 2006-02-04 18:41:47 +00:00
  • 998113fedf Needed to make %G output "DEFAULT" when gid == GID_NONE. Wayne Davison 2006-02-04 18:40:41 +00:00
  • ee5544112a Improved the --partial-dir section. Wayne Davison 2006-02-03 23:50:16 +00:00
  • 7eaabd8fac Decided to undo the last change to avoid backward compatibility inconsistencies (it would have been the right thing to do if it were done that way from the start, but not now). Wayne Davison 2006-02-03 23:40:37 +00:00
  • 4fc808dd98 Avoid adding our own exclude of the partial-dir name if the user's filter rules already match it. Wayne Davison 2006-02-03 23:16:46 +00:00
  • 7cfb250c93 Made the new %M escape handle multiple spaces in the timestamp (which can occur if the user's system doesn't have strftime()). Wayne Davison 2006-02-03 22:41:19 +00:00
  • 47f480b619 Removed completed items. Wayne Davison 2006-02-03 20:49:25 +00:00
  • fa9e950b1a Mention who is outputting the "rsync error" or "rsync warning". Wayne Davison 2006-02-03 20:39:58 +00:00
  • 49f4d850ce Mention latest changes. Wayne Davison 2006-02-03 20:32:27 +00:00
  • b3e15181ae Log when someone requests a module list. Wayne Davison 2006-02-03 20:28:19 +00:00
  • aca5500aea Document the new "log format" options: %M (modtime), %U (uid), %G (gid), and %B (perm bits). Wayne Davison 2006-02-03 20:00:24 +00:00
  • 427b6179b9 - Allow tab characters to appear in rwrite() messages. - Added %M (modtime), %U (uid), %G (gid), and %B (perm bits) to log_formatted(). Wayne Davison 2006-02-03 19:59:25 +00:00
  • afa73c75b5 A minor optimization to timestring. Wayne Davison 2006-02-03 19:40:16 +00:00
  • 8261af7422 Allow sigaction() to be used even if sigprocmask() isn't around (or was manually disabled). Wayne Davison 2006-02-03 18:48:26 +00:00
  • 44e604f416 Simplified the conditional prior to the SIGACTION code. Wayne Davison 2006-02-03 18:46:38 +00:00
  • 5173f99e68 A slight tweak to the conditionalized definition of SIGACTION(). Wayne Davison 2006-02-03 18:34:09 +00:00
  • 8a3d4658eb Decided I don't like "set -x". Wayne Davison 2006-02-03 17:58:48 +00:00
  • 6b43924848 The calls to check_perms now pass a test number arg and don't check for failure (it will die on failure). Wayne Davison 2006-02-03 17:55:24 +00:00
  • eace352b39 Improved check_perms() to work with a directory, to have better output on error, and to call test_fail on error. Wayne Davison 2006-02-03 17:54:18 +00:00
  • fdbe8989fe Moved check_perms() into rsync.fns and tweaked how it is called. Wayne Davison 2006-02-03 17:29:43 +00:00
  • 18d7e9f46e Added a new function: check_perms(). Wayne Davison 2006-02-03 17:28:03 +00:00
  • c6fbd563d8 Matt's executability test with a few tweaks (e.g. to avoid using "stat"). Wayne Davison 2006-02-03 06:47:26 +00:00
  • a5df33bb62 Scratch-dir normalization from Matt: turn off any default ACLs (if setfacl is available) and disable any directory setgid bit to avoid confusing some tests. Wayne Davison 2006-02-03 06:15:46 +00:00
  • 5cf4896050 Mention the sigaction() and sigprocmask() goodness. Wayne Davison 2006-02-02 22:38:55 +00:00
  • 2fb450bd99 Fixed a hang. Wayne Davison 2006-02-02 22:34:30 +00:00
  • 4ea58045e2 Moved the potential disabling of __attribute__ above the relocated UNUSED() define. Wayne Davison 2006-02-02 22:24:33 +00:00
  • 29433538ff Tweaked a couple lines in the code that handles --version. Wayne Davison 2006-02-02 11:40:32 +00:00
  • d382140904 Changed default logfile setting from /var/adm/rsyncd.log to /var/log/rsyncd.log. Wayne Davison 2006-02-02 10:20:13 +00:00
  • b8e9c234e6 Changed sig_int() to use a standard signal-handler prototype. Wayne Davison 2006-02-02 02:39:40 +00:00
  • 60ee01f517 - Call SIGACTION() instead of signal(). - Umask all the signals we need using sigprocmask() (if available). Wayne Davison 2006-02-02 02:39:29 +00:00
  • 2b28968dfb Call SIGACTION() instead of signal(). Wayne Davison 2006-02-02 02:39:25 +00:00
  • 90b13cf606 - Moved definition of UNUSED() above inclusion of proto.h. - Replaced definition of SIGNAL_CAST with new SIGACTION() define, which will use sigaction() if it is available, else signal(). Wayne Davison 2006-02-02 02:39:19 +00:00
  • d81894fc21 Added checks for sigaction() and sigprocmask(). Wayne Davison 2006-02-02 02:32:39 +00:00
  • f5cbae9329 Look for public functions that return RETSIGTYPE. Wayne Davison 2006-02-02 02:29:30 +00:00
  • 7a6653bc6c Ignore the --quiet option if someone sent it to us (which doesn't happen when talking to a normal client). Wayne Davison 2006-02-01 19:36:37 +00:00
  • 72f2d1b384 When complaining about a socket-read problem, use an FSOCKERR code instead of a normal FERROR. The generator is the only process that will receive this, and it uses it to close down the multi-I/O over the socket so that it won't ever hang trying to write an error down a dead socket. Wayne Davison 2006-02-01 19:35:17 +00:00
  • b66e31bf15 Turn an FSOCKERR into a normal FERROR if it's not going to our sibling. Wayne Davison 2006-02-01 19:33:12 +00:00
  • ea26c854af Added FSOCKERR and MSG_SOCKERR (a sibling-only message). Wayne Davison 2006-02-01 19:26:34 +00:00
  • ef1f62807e We should be using wait_process(), not waitpid() directly. Wayne Davison 2006-02-01 19:25:34 +00:00
  • d8aeda1e50 Changed a few "ret" variables to have better names. Wayne Davison 2006-02-01 19:24:28 +00:00
  • 07efba8ec0 The itemize() output now mentions -E permissions changes. Wayne Davison 2006-01-31 06:25:46 +00:00
  • 2959fe7447 Mention the --executability option. Wayne Davison 2006-01-31 03:40:22 +00:00
  • 4601589720 Another help-text tweak. Wayne Davison 2006-01-31 03:11:07 +00:00
  • 9f8225566e Moved where --chmod was listed. Wayne Davison 2006-01-31 03:05:24 +00:00
  • 5e65c96705 Moved --chmod in the help output. Wayne Davison 2006-01-31 03:04:00 +00:00
  • a9d6e6fcac When permissions aren't being preserved, set them via the new dest_mode() function. Wayne Davison 2006-01-31 02:30:09 +00:00
  • 860dcf68ad Got rid of the orig_umask-based file->mode tweak in receive_file() (which got moved into the dest_mode() function). Wayne Davison 2006-01-31 02:30:05 +00:00
  • 812848323b 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 2006-01-31 02:30:02 +00:00
  • 344f9ba7fa Added the --executability (-E) option. Wayne Davison 2006-01-31 02:29:58 +00:00
  • 2d5279ac9a Documented the new --executability (-E) option, with improvements to the --perms and --chmod sections as well. Wayne Davison 2006-01-31 02:29:55 +00:00
  • fa3e4a0548 Mention the chmod utility's manpage number. Wayne Davison 2006-01-31 02:26:49 +00:00
  • 656c20715e Mention that --chmod's work can still be masked by the receiving end's umask when permissions are not being preserved. Wayne Davison 2006-01-30 22:10:33 +00:00
  • a72885e042 Mention files-to-excludes. Wayne Davison 2006-01-30 21:54:00 +00:00
  • b587adda1f 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 2006-01-30 21:52:17 +00:00
  • 50fd4832c2 Mentioned the new "outgoing chmod" daemon option. Wayne Davison 2006-01-30 21:47:23 +00:00
  • c094d9320d Documented the new "outgoing chmod" daemon option. Wayne Davison 2006-01-30 21:47:08 +00:00
  • aaccaa887d Added support for the new "outgoing chmod" daemon option. Wayne Davison 2006-01-30 21:47:02 +00:00
  • 5481e42cd6 Mentioned the early-EOF bugfix (which was fixed a while ago). Wayne Davison 2006-01-30 20:09:46 +00:00
  • b3964d1d86 Improved the documentation for --force. Wayne Davison 2006-01-30 18:46:17 +00:00
  • e35d9f2d6d 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 2006-01-30 18:45:57 +00:00
  • 4d16780366 Allow --force to work even if --recurse was not specified. Wayne Davison 2006-01-30 18:35:54 +00:00
  • 1661fe9b0c Made get_dirlist() always include directories. Wayne Davison 2006-01-30 18:32:47 +00:00
  • 63344ad4e1 Mention the latest improvements. Wayne Davison 2006-01-30 18:19:55 +00:00
  • 90cf7d199f 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 2006-01-30 18:14:02 +00:00
  • 730df9d222 If the module has defined an "incoming chmod" option, call parse_chmod() on it. Wayne Davison 2006-01-30 17:53:38 +00:00
  • 882d8c1cab Added the "incoming chmod" config option. Wayne Davison 2006-01-30 17:53:32 +00:00
  • 17af842d2d Document the new "incoming chmod" config option. Wayne Davison 2006-01-30 17:53:27 +00:00
  • bbe42182df Call the parse_chmod() with its new syntax. Wayne Davison 2006-01-30 17:53:19 +00:00
  • 81b096feef Changed the way the parse_chmod() function is called. Wayne Davison 2006-01-30 17:53:13 +00:00
  • 7627e92c54 Added extern for io_write_phase. Wayne Davison 2006-01-30 17:39:43 +00:00
  • f7bce90cf0 - Got rid of the externs for io_read_phase and io_write_phase. - Added stub definition for chmod_mode_struct. Wayne Davison 2006-01-30 17:39:34 +00:00
  • b33ce4c800 Moved the filter_outfile() function to rsync.fns. Wayne Davison 2006-01-30 08:12:17 +00:00
  • 757287d8a5 Moved the filter_outfile() function here since it was identical in devices.test and itemize.test. Wayne Davison 2006-01-30 08:11:50 +00:00
  • 3ed8eafccb 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 2006-01-30 07:18:16 +00:00
  • d8b1c923ef 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 2006-01-30 07:18:13 +00:00
  • 4a4d2b1ba0 Call finish_transfer() with a valid partialptr string, when appropriate. Wayne Davison 2006-01-30 07:18:10 +00:00
  • 12fa790ea0 Call finish_transfer() with its newly-added arg. Wayne Davison 2006-01-30 07:18:06 +00:00
  • 21955d9c92 Call robust_rename() with its newly-added arg. Wayne Davison 2006-01-30 07:18:03 +00:00
  • a0d9819f8c Document the side-effect that --partial-dir can have on --temp-dir. Wayne Davison 2006-01-30 07:18:00 +00:00
  • a9af5d8eba More improvements to --temp-dir. Wayne Davison 2006-01-30 06:34:57 +00:00
  • 65854cf91a Changed the mode arg from an int to a mode_t. Wayne Davison 2006-01-30 00:39:59 +00:00
  • 9ec1ef2535 Improved the --temp-dir description and a couple other sentences. Wayne Davison 2006-01-29 20:31:59 +00:00
  • 36119f6e2a - Renamed set_perms() to set_file_attrs(). - Use the renamed PERMS_* defines: ATTRS_*. Wayne Davison 2006-01-29 20:30:24 +00:00
  • e912bd4dfb - Use the renamed PERMS_* defines: ATTRS_*. - Call the new name of set_perms(): set_file_attrs(). Wayne Davison 2006-01-29 20:30:18 +00:00
  • c3ef136d41 Call the new name of set_perms(): set_file_attrs(). Wayne Davison 2006-01-29 20:30:12 +00:00
  • 8eda7a4bb8 Renamed the PERMS_* defines to ATTRS_* defines. Wayne Davison 2006-01-29 20:30:07 +00:00
  • 78d146e866 Use PERMSTRING_SIZE rather than a hard-wired "11". Wayne Davison 2006-01-29 20:30:02 +00:00
  • 77860bacd0 No need to send --partial when we're the receiver. Wayne Davison 2006-01-29 19:17:13 +00:00
  • 63cf5ae72c Made a bunch of char* args const. Wayne Davison 2006-01-29 18:52:53 +00:00