[dovecot-cvs] dovecot/src/master master-settings.c,1.130,1.131

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


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

Modified Files:
	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.130
retrieving revision 1.131
diff -u -d -r1.130 -r1.131
--- master-settings.c	17 Jun 2006 16:26:56 -0000	1.130
+++ master-settings.c	17 Jun 2006 16:50:00 -0000	1.131
@@ -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