From: terry%mozilla.org <> Date: Fri, 15 Oct 1999 05:32:44 +0000 (+0000) Subject: Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the... X-Git-Tag: bugzilla-2.8~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=421b97de6599b834ba61191aaa63ed5d768e0709;p=thirdparty%2Fbugzilla.git Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the shadow directory. --- diff --git a/checksetup.pl b/checksetup.pl index a4e363a8a6..c6d1e50fd4 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -383,6 +383,7 @@ unlink "data/versioncache"; # if ($webservergroup) { + mkdir 'shadow', 0770 unless -d 'shadow'; # Funny! getgrname returns the GID if fed with NAME ... my $webservergid = getgrnam($webservergroup); chown 0, $webservergid, glob('*'); @@ -394,7 +395,7 @@ if ($webservergroup) { 'collectstats.pl', 'checksetup.pl'; - chmod 0770, 'data'; + chmod 0770, 'data', 'shadow'; chmod 0666, glob('data/*'); }