On Wed, Sep 10, 2008 at 04:44:02PM -0700, Wayne Davison wrote: > The attached patch should fix things.
That patch accidentally reverted an ability to transform a relative module path into an absolute one when chroot was not enabled. The attached patch fixes this. ..wayne..
--- a/clientserver.c +++ b/clientserver.c @@ -527,6 +527,8 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host) out_of_memory("rsync_module"); change_dir(line, CD_SKIP_CHDIR); /* Restore curr_dir. */ + if (!use_chroot) + module_dir = module_chdir; module_dirlen = clean_fname(module_dir, CFN_COLLAPSE_DOT_DOT_DIRS | CFN_DROP_TRAILING_DOT_DIR); if (module_dirlen == 1) {
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html