summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cvsignore1
-rwxr-xr-xchecksetup.pl3
2 files changed, 4 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index ce18c65ad..64432ca1e 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,3 +1,4 @@
+.htaccess
graphs
data
localconfig
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';