[dovecot-cvs] dovecot/src/master master-settings.c, 1.125.2.5, 1.125.2.6

cras at dovecot.org cras at dovecot.org
Sat Jun 17 19:50:01 EEST 2006


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

Modified Files:
      Tag: branch_1_0
	master-settings.c 
Log Message:
Changed the created state dir's default permissions to be 0750. Although
this doesn't currently really matter.



Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.125.2.5
retrieving revision 1.125.2.6
diff -u -d -r1.125.2.5 -r1.125.2.6
--- master-settings.c	17 Jun 2006 16:26:53 -0000	1.125.2.5
+++ master-settings.c	17 Jun 2006 16:49:58 -0000	1.125.2.6
@@ -800,7 +800,7 @@
 	}
 
 	/* Make sure our permanent state directory exists */
-	if (mkdir_parents(PKG_STATEDIR, 0777) < 0 && errno != EEXIST) {
+	if (mkdir_parents(PKG_STATEDIR, 0750) < 0 && errno != EEXIST) {
 		i_error("mkdir(%s) failed: %m", PKG_STATEDIR);
 		return FALSE;
 	}



More information about the dovecot-cvs mailing list