dovecot-2.0: dsync: When using -u parameter, chdir() to user's h...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 26 21:26:07 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/716b77e16d39
changeset: 11904:716b77e16d39
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 26 19:23:59 2010 +0100
description:
dsync: When using -u parameter, chdir() to user's home.

diffstat:

 src/dsync/dsync.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 4d5158130e2c -r 716b77e16d39 src/dsync/dsync.c
--- a/src/dsync/dsync.c	Mon Jul 26 19:21:47 2010 +0100
+++ b/src/dsync/dsync.c	Mon Jul 26 19:23:59 2010 +0100
@@ -194,6 +194,7 @@
 		case 'u':
 			username = optarg;
 			ssflags |= MAIL_STORAGE_SERVICE_FLAG_USERDB_LOOKUP;
+			ssflags &= ~MAIL_STORAGE_SERVICE_FLAG_NO_CHDIR;
 			break;
 		case 'v':
 			brain_flags |= DSYNC_BRAIN_FLAG_VERBOSE;


More information about the dovecot-cvs mailing list