From 83e0c3c2b02f091b2c19117252d93cf9acba7299 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Wed, 25 Jul 2001 14:26:42 +0000 Subject: 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 r= jake@acutex.net --- .cvsignore | 1 + checksetup.pl | 3 +++ 2 files changed, 4 insertions(+) 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'; -- cgit v1.2.3-24-g4f1b