r1526 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Fri Jun 15 12:52:57 CEST 2007


Author: des
Date: 2007-06-15 12:52:57 +0200 (Fri, 15 Jun 2007)
New Revision: 1526

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
Use mode 0755 rather than 0600 for the state directory.


Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c	2007-06-15 10:40:53 UTC (rev 1525)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c	2007-06-15 10:52:57 UTC (rev 1526)
@@ -526,7 +526,7 @@
 					return;
 				}
 			} else {
-				if (mkdir(path, 0600)) {
+				if (mkdir(path, 0755)) {
 					fprintf(stderr,
 					    "Error: Directory %s could not be created",
 					    path);




More information about the varnish-commit mailing list