]> err.no Git - varnish/commitdiff
Use mode 0755 rather than 0600 for the state directory.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Jun 2007 10:52:57 +0000 (10:52 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Jun 2007 10:52:57 +0000 (10:52 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1526 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_param.c

index c2a8501864041ddd3a95dbc0a48666ea620c3f1c..7b1198b912b7bd919232b612ba44550a8a843049 100644 (file)
@@ -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);