summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-07-25 16:26:42 +0200
committerjustdave%syndicomm.com <>2001-07-25 16:26:42 +0200
commit83e0c3c2b02f091b2c19117252d93cf9acba7299 (patch)
tree90ff509ab6044cb6b1d35252d9309901728e8c3b /checksetup.pl
parentb1a6027d52b7fe7d0d7824913d4a3da655cd0e64 (diff)
downloadbugzilla-83e0c3c2b02f091b2c19117252d93cf9acba7299.tar.gz
bugzilla-83e0c3c2b02f091b2c19117252d93cf9acba7299.tar.xz
re-fix bug 76154: permissions weren't being set correctly on the .htaccess files when checksetup.pl was run again. Also adding .htaccess to .cvsignore so it won't show up as ? in cvs diffs and updates.
Patch by Dave Miller <justdave@syndicomm.com> r= jake@acutex.net
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl3
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';