[dovecot-cvs] dovecot/src/master master-settings.c,1.108,1.109

cras at dovecot.org cras at dovecot.org
Sun Jan 22 14:13:51 EET 2006


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

Modified Files:
	master-settings.c 
Log Message:
Fix for 0777 check



Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- master-settings.c	22 Jan 2006 12:12:52 -0000	1.108
+++ master-settings.c	22 Jan 2006 12:13:49 -0000	1.109
@@ -650,7 +650,7 @@
 		i_error("lstat(%s) failed: %m", set->base_dir);
 		return FALSE;
 	}
-	if ((st.st_mode & 0750) != 0750 || (st.st_mode == 0777)) {
+	if ((st.st_mode & 0750) != 0750 || (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