aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-15 05:32:44 +0000
committerterry%mozilla.org <>1999-10-15 05:32:44 +0000
commit421b97de6599b834ba61191aaa63ed5d768e0709 (patch)
tree58605ae2d40fc34867dfe4dd93fc51a8edeac93c
parent8790dbf393b1d1f031afc476e3771936dc88fa57 (diff)
downloadbugs-421b97de6599b834ba61191aaa63ed5d768e0709.tar
bugs-421b97de6599b834ba61191aaa63ed5d768e0709.tar.gz
bugs-421b97de6599b834ba61191aaa63ed5d768e0709.tar.bz2
bugs-421b97de6599b834ba61191aaa63ed5d768e0709.tar.xz
bugs-421b97de6599b834ba61191aaa63ed5d768e0709.zip
Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the shadow directory.
-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/*');
}