- Made it easy to configure the path of the rsync executable.
authorWayne Davison <wayned@samba.org>
Thu, 16 Jun 2005 19:30:53 +0000 (19:30 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 16 Jun 2005 19:30:53 +0000 (19:30 +0000)
commit70318468dfbb01e7742a43665f9e88afab44b62a
tree3cb4ec93f7abb2c602abaaddf51067a1f705088f
parent782d1091213df611767787a88365c32427afe9ec
- 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.
support/rrsync