changeset 4408:9c9dec4901d9 HEAD

Changed the created state dir's default permissions to be 0750. Although this doesn't currently really matter.
author Timo Sirainen <tss@iki.fi>
date Sat, 17 Jun 2006 19:50:00 +0300
parents 2e4857a2b858
children 6744d3eb4113
files src/master/master-settings.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/master/master-settings.c	Sat Jun 17 19:26:54 2006 +0300
+++ b/src/master/master-settings.c	Sat Jun 17 19:50:00 2006 +0300
@@ -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;
 	}