Commit 421b97de authored by terry%mozilla.org's avatar terry%mozilla.org

Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on…

Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the shadow directory.
parent 8790dbf3
......@@ -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/*');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment