From: des Date: Fri, 15 Jun 2007 10:52:57 +0000 (+0000) Subject: Use mode 0755 rather than 0600 for the state directory. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a862fd07fd4db7bea299bee59e09538fd997fe44;p=varnish 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 --- 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);