Wayne Davison
998113fedf
Needed to make %G output "DEFAULT" when gid == GID_NONE.
2006-02-04 18:40:41 +00:00
Wayne Davison
ee5544112a
Improved the --partial-dir section.
2006-02-03 23:50:16 +00:00
Wayne Davison
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).
2006-02-03 23:40:37 +00:00
Wayne Davison
4fc808dd98
Avoid adding our own exclude of the partial-dir name if the
...
user's filter rules already match it.
2006-02-03 23:16:46 +00:00
Wayne Davison
7cfb250c93
Made the new %M escape handle multiple spaces in the timestamp
...
(which can occur if the user's system doesn't have strftime()).
2006-02-03 22:41:19 +00:00
Wayne Davison
47f480b619
Removed completed items.
2006-02-03 20:49:25 +00:00
Wayne Davison
fa9e950b1a
Mention who is outputting the "rsync error" or "rsync warning".
2006-02-03 20:39:58 +00:00
Wayne Davison
49f4d850ce
Mention latest changes.
2006-02-03 20:32:27 +00:00
Wayne Davison
b3e15181ae
Log when someone requests a module list.
2006-02-03 20:28:19 +00:00
Wayne Davison
aca5500aea
Document the new "log format" options: %M (modtime), %U (uid),
...
%G (gid), and %B (perm bits).
2006-02-03 20:00:24 +00:00
Wayne Davison
427b6179b9
- Allow tab characters to appear in rwrite() messages.
...
- Added %M (modtime), %U (uid), %G (gid), and %B (perm bits) to
log_formatted().
2006-02-03 19:59:25 +00:00
Wayne Davison
afa73c75b5
A minor optimization to timestring.
2006-02-03 19:40:16 +00:00
Wayne Davison
8261af7422
Allow sigaction() to be used even if sigprocmask() isn't around
...
(or was manually disabled).
2006-02-03 18:48:26 +00:00
Wayne Davison
44e604f416
Simplified the conditional prior to the SIGACTION code.
2006-02-03 18:46:38 +00:00
Wayne Davison
5173f99e68
A slight tweak to the conditionalized definition of SIGACTION().
2006-02-03 18:34:09 +00:00
Wayne Davison
8a3d4658eb
Decided I don't like "set -x".
2006-02-03 17:58:48 +00:00
Wayne Davison
6b43924848
The calls to check_perms now pass a test number arg and
...
don't check for failure (it will die on failure).
2006-02-03 17:55:24 +00:00
Wayne Davison
eace352b39
Improved check_perms() to work with a directory, to have better
...
output on error, and to call test_fail on error.
2006-02-03 17:54:18 +00:00
Wayne Davison
fdbe8989fe
Moved check_perms() into rsync.fns and tweaked how it is called.
2006-02-03 17:29:43 +00:00
Wayne Davison
18d7e9f46e
Added a new function: check_perms().
2006-02-03 17:28:03 +00:00
Wayne Davison
c6fbd563d8
Matt's executability test with a few tweaks (e.g. to avoid using
...
"stat").
2006-02-03 06:47:26 +00:00
Wayne Davison
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.
2006-02-03 06:15:46 +00:00
Wayne Davison
5cf4896050
Mention the sigaction() and sigprocmask() goodness.
2006-02-02 22:38:55 +00:00
Wayne Davison
2fb450bd99
Fixed a hang.
2006-02-02 22:34:30 +00:00
Wayne Davison
4ea58045e2
Moved the potential disabling of __attribute__ above the
...
relocated UNUSED() define.
2006-02-02 22:24:33 +00:00
Wayne Davison
29433538ff
Tweaked a couple lines in the code that handles --version.
2006-02-02 11:40:32 +00:00
Wayne Davison
d382140904
Changed default logfile setting from /var/adm/rsyncd.log to
...
/var/log/rsyncd.log.
2006-02-02 10:20:13 +00:00
Wayne Davison
b8e9c234e6
Changed sig_int() to use a standard signal-handler prototype.
2006-02-02 02:39:40 +00:00
Wayne Davison
60ee01f517
- Call SIGACTION() instead of signal().
...
- Umask all the signals we need using sigprocmask() (if available).
2006-02-02 02:39:29 +00:00
Wayne Davison
2b28968dfb
Call SIGACTION() instead of signal().
2006-02-02 02:39:25 +00:00
Wayne Davison
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().
2006-02-02 02:39:19 +00:00
Wayne Davison
d81894fc21
Added checks for sigaction() and sigprocmask().
2006-02-02 02:32:39 +00:00
Wayne Davison
f5cbae9329
Look for public functions that return RETSIGTYPE.
2006-02-02 02:29:30 +00:00
Wayne Davison
7a6653bc6c
Ignore the --quiet option if someone sent it to us (which doesn't
...
happen when talking to a normal client).
2006-02-01 19:36:37 +00:00
Wayne Davison
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.
2006-02-01 19:35:17 +00:00
Wayne Davison
b66e31bf15
Turn an FSOCKERR into a normal FERROR if it's not going to our
...
sibling.
2006-02-01 19:33:12 +00:00
Wayne Davison
ea26c854af
Added FSOCKERR and MSG_SOCKERR (a sibling-only message).
2006-02-01 19:26:34 +00:00
Wayne Davison
ef1f62807e
We should be using wait_process(), not waitpid() directly.
2006-02-01 19:25:34 +00:00
Wayne Davison
d8aeda1e50
Changed a few "ret" variables to have better names.
2006-02-01 19:24:28 +00:00
Wayne Davison
07efba8ec0
The itemize() output now mentions -E permissions changes.
2006-01-31 06:25:46 +00:00
Wayne Davison
2959fe7447
Mention the --executability option.
2006-01-31 03:40:22 +00:00
Wayne Davison
4601589720
Another help-text tweak.
2006-01-31 03:11:07 +00:00
Wayne Davison
9f8225566e
Moved where --chmod was listed.
2006-01-31 03:05:24 +00:00
Wayne Davison
5e65c96705
Moved --chmod in the help output.
2006-01-31 03:04:00 +00:00
Wayne Davison
a9d6e6fcac
When permissions aren't being preserved, set them via the new
...
dest_mode() function.
2006-01-31 02:30:09 +00:00
Wayne Davison
860dcf68ad
Got rid of the orig_umask-based file->mode tweak in receive_file()
...
(which got moved into the dest_mode() function).
2006-01-31 02:30:05 +00:00
Wayne Davison
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.
2006-01-31 02:30:02 +00:00
Wayne Davison
344f9ba7fa
Added the --executability (-E) option.
2006-01-31 02:29:58 +00:00
Wayne Davison
2d5279ac9a
Documented the new --executability (-E) option, with improvements
...
to the --perms and --chmod sections as well.
2006-01-31 02:29:55 +00:00
Wayne Davison
fa3e4a0548
Mention the chmod utility's manpage number.
2006-01-31 02:26:49 +00:00