dovecot-2.2: master: Create missing /var/lib/dovecot/ with world...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 16 18:25:00 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/744a1037ce86
changeset: 14712:744a1037ce86
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 16 18:24:53 2012 +0300
description:
master: Create missing /var/lib/dovecot/ with world-read-exec permissions.
There's really nothing secret in the directory and in some setups this
change had to be done manually anyway.

diffstat:

 src/master/master-settings.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 4fb231804670 -r 744a1037ce86 src/master/master-settings.c
--- a/src/master/master-settings.c	Mon Jul 16 16:59:51 2012 +0300
+++ b/src/master/master-settings.c	Mon Jul 16 18:24:53 2012 +0300
@@ -731,7 +731,7 @@
 	}
 
 	/* Make sure our permanent state directory exists */
-	if (mkdir_parents(PKG_STATEDIR, 0750) < 0 && errno != EEXIST)
+	if (mkdir_parents(PKG_STATEDIR, 0755) < 0 && errno != EEXIST)
 		i_fatal("mkdir(%s) failed: %m", PKG_STATEDIR);
 
 	login_dir = t_strconcat(set->base_dir, "/login", NULL);


More information about the dovecot-cvs mailing list