From a550f386e8222168801b5ffbe5f49852df3a30ba Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Thu, 14 Dec 2000 17:48:01 +0000 Subject: [PATCH] Fix duplicates table check; make sure we create graphs directory. --- webtools/bugzilla/checksetup.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webtools/bugzilla/checksetup.pl b/webtools/bugzilla/checksetup.pl index 2860a062d345..824802ec6398 100755 --- a/webtools/bugzilla/checksetup.pl +++ b/webtools/bugzilla/checksetup.pl @@ -1784,14 +1784,13 @@ if (!($sth->fetchrow_arrayref()->[0])) { } # 2000-12-14 New graphing system requires a directory to put the graphs in -# How do we make the new directory owned by the webserver's group? Until -# we find out, make it 0777. +# This code copied from what happens for the 'data' dir above. unless (-d 'graphs') { print "Creating graphs directory ...\n"; - mkdir 'graphs', 0777; # was 0770 in the code (above) I pinched this from + mkdir 'graphs', 0770; if ($::webservergroup eq "") { chmod 0777, 'graphs'; - } + } }