dovecot-2.2: lib-storage: dovecot.mailbox.log should have used f...

dovecot at dovecot.org dovecot at dovecot.org
Sun Apr 7 18:50:41 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/6e8d5d78ce0d
changeset: 16227:6e8d5d78ce0d
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Apr 07 18:49:32 2013 +0300
description:
lib-storage: dovecot.mailbox.log should have used file permissions, not dir
Although this didn't actually make any difference since 0666 mask was used.

diffstat:

 src/lib-storage/mailbox-list.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b945403c491f -r 6e8d5d78ce0d src/lib-storage/mailbox-list.c
--- a/src/lib-storage/mailbox-list.c	Sun Apr 07 18:33:21 2013 +0300
+++ b/src/lib-storage/mailbox-list.c	Sun Apr 07 18:49:32 2013 +0300
@@ -1433,7 +1433,7 @@
 	list->changelog = mailbox_log_alloc(path);
 
 	mailbox_list_get_root_permissions(list, &perm);
-	mailbox_log_set_permissions(list->changelog, perm.dir_create_mode,
+	mailbox_log_set_permissions(list->changelog, perm.file_create_mode,
 				    perm.file_create_gid,
 				    perm.file_create_gid_origin);
 	return TRUE;


More information about the dovecot-cvs mailing list