summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-15 07:32:44 +0200
committerterry%mozilla.org <>1999-10-15 07:32:44 +0200
commit421b97de6599b834ba61191aaa63ed5d768e0709 (patch)
tree58605ae2d40fc34867dfe4dd93fc51a8edeac93c /checksetup.pl
parent8790dbf393b1d1f031afc476e3771936dc88fa57 (diff)
downloadbugzilla-421b97de6599b834ba61191aaa63ed5d768e0709.tar.gz
bugzilla-421b97de6599b834ba61191aaa63ed5d768e0709.tar.xz
Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the shadow directory.
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index a4e363a8a..c6d1e50fd 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/*');
}