From a862fd07fd4db7bea299bee59e09538fd997fe44 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 15 Jun 2007 10:52:57 +0000 Subject: [PATCH] Use mode 0755 rather than 0600 for the state directory. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1526 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/mgt_param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index c2a85018..7b1198b9 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -526,7 +526,7 @@ tweak_name(struct cli *cli, struct parspec *par, const char* arg) return; } } else { - if (mkdir(path, 0600)) { + if (mkdir(path, 0755)) { fprintf(stderr, "Error: Directory %s could not be created", path); -- 2.39.5