dovecot-2.0: mail_storage_service*() chdired to base_dir instead...
dovecot at dovecot.org
dovecot at dovecot.org
Sat May 30 01:05:48 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/6a2660115d3d
changeset: 9407:6a2660115d3d
user: Timo Sirainen <tss at iki.fi>
date: Fri May 29 18:05:43 2009 -0400
description:
mail_storage_service*() chdired to base_dir instead of user's home dir.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/mail-storage-service.c | 2 +-
diffs (12 lines):
diff -r fb32daa5c50a -r 6a2660115d3d src/lib-storage/mail-storage-service.c
--- a/src/lib-storage/mail-storage-service.c Fri May 29 17:13:13 2009 -0400
+++ b/src/lib-storage/mail-storage-service.c Fri May 29 18:05:43 2009 -0400
@@ -366,7 +366,7 @@ mail_storage_service_init_post(struct ma
} else if (*home != '\0') {
/* If possible chdir to home directory, so that core file
could be written in case we crash. */
- if (chdir(user_set->base_dir) < 0) {
+ if (chdir(home) < 0) {
if (errno != ENOENT)
i_error("chdir(%s) failed: %m", home);
else if (mail_set->mail_debug)
More information about the dovecot-cvs
mailing list