[dovecot-cvs] dovecot/src/master master-settings.c, 1.125.2.23, 1.125.2.24

tss at dovecot.org tss at dovecot.org
Thu Jan 18 16:36:47 UTC 2007


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv21066

Modified Files:
      Tag: branch_1_0
	master-settings.c 
Log Message:
base_dir doesn't need to be group-readable, don't force it.



Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.125.2.23
retrieving revision 1.125.2.24
diff -u -d -r1.125.2.23 -r1.125.2.24
--- master-settings.c	9 Jan 2007 20:30:24 -0000	1.125.2.23
+++ master-settings.c	18 Jan 2007 16:36:45 -0000	1.125.2.24
@@ -726,7 +726,7 @@
 		i_error("stat(%s) failed: %m", set->base_dir);
 		return FALSE;
 	}
-	if ((st.st_mode & 0750) != 0750 || (st.st_mode & 0777) == 0777) {
+	if ((st.st_mode & 0310) != 0310 || (st.st_mode & 0777) == 0777) {
 		/* FIXME: backwards compatibility: fix permissions so that
 		   login processes can find ssl-parameters file. Group rx is
 		   enough, but change it to world-rx so that we don't have to



More information about the dovecot-cvs mailing list