Closed Bug 32220 Opened 24 years ago Closed 24 years ago

checksetup.pl script gives bad permissions

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.12

People

(Reporter: seth, Assigned: justdave)

References

Details

Attachments

(1 file)

So the --CHMOD-- section in checksetup.pl is a little overzealous. 
Specifically, it chmod's everything, including directories, which makes
directories like contrib and CVS inaccessable.  See attached diff.
tara@tequilarista.org is the new owner of Bugzilla and Bonsai.  (For details,
see my posting in netscape.public.mozilla.webtools,
news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
Just to touch it again: This bug has been created together with an attached fix 
on 3/17, and it's been sitting here untouched for more than two months now.
Here's another patch for a problem I keep running into constantly and I hear 
other people mentioning it on the newsgroup all the time.  The patch has been 
sitting here since 3/17 and hasn't been checked in yet.  Basically, without this 
patch installed, bug submission via email breaks every time you run 
checksetup.pl, requiring manual chmodding of several directories and files to get 
it working again.
Keywords: patch
Now that I can check things in, I'm taking care of this so those of us that use 
bug_email can stop having to re-do the permissions every freaking time we run 
checksetup.pl :)
Assignee: tara → dave
I ended up making some changes to your patch...  tightened up the code just a 
little.  Also, I moved the chown call outside of the file loop, since it was 
acting on glob('*') every time through the loop. :)

It's checked in now.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
In search of accurate queries....  (sorry for the spam)
Target Milestone: --- → Bugzilla 2.12
Can someone CCed on this bug fix the --CHMOD-- section to allow the webserver 
write access to the new graphs directory?

Gerv
Gerv, file a new bug for that. :)  There's been other CHMOD-related patches to 
checksetup.pl since the one on this bug (the one with the list of executable 
files comes to mind).
*** Bug 72064 has been marked as a duplicate of this bug. ***
Moving closed bugs to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: