diff options
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl index 48dc8aa67..e205d4c06 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -708,6 +708,9 @@ if ($my_webservergroup) { # caller's uid. Maybe there should be a $bugzillauid, and call with that # userid. chown $<, $webservergid, glob('*'); + if (-e ".htaccess") { chown $<, $webservergid, ".htaccess" } # glob('*') doesn't catch dotfiles + if (-e "data/.htaccess") { chown $<, $webservergid, "data/.htaccess" } + if (-e "data/webdot/.htaccess") { chown $<, $webservergid, "data/webdot/.htaccess" } fixPerms('*',027); chmod 0644, 'globals.pl'; chmod 0644, 'RelationSet.pm'; |