]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the...
authorterry%mozilla.org <>
Fri, 15 Oct 1999 05:32:44 +0000 (05:32 +0000)
committerterry%mozilla.org <>
Fri, 15 Oct 1999 05:32:44 +0000 (05:32 +0000)
checksetup.pl

index a4e363a8a695b6cdb5ca2ab5f5e5c8332824ea5f..c6d1e50fd44217b54b113e7757e2519c7e10d7f7 100755 (executable)
@@ -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/*');
 }