[dovecot-cvs] dovecot/src/master master-settings.c,1.152,1.153

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


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

Modified Files:
	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.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- master-settings.c	9 Jan 2007 20:30:25 -0000	1.152
+++ master-settings.c	18 Jan 2007 16:36:48 -0000	1.153
@@ -727,7 +727,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