FW: collectstats permission problem

Benton, Kevin kevin.benton at amd.com
Tue May 3 16:28:45 UTC 2005


This brings up a good point - there are users who don't want
checksetup.pl to force permission changes.  I think we ought to ask if
the user wants to change permissions.  If not, then we ought to leave
them alone.

---
Kevin Benton
Perl/Bugzilla Developer
Advanced Micro Devices
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.
 
 

> -----Original Message-----
> From: mozilla-webtools-admin at mozilla.org [mailto:mozilla-webtools-
> admin at mozilla.org] On Behalf Of K.Godsoe
> Sent: Tuesday, May 03, 2005 9:13 AM
> To: mozilla-webtools at mozilla.org
> Subject: Re: collectstats permission problem
> 
> Brett,
>     I cheated to make this work.  I created a script that would be run
by
> cron, this script would check file permissions, and if they were not
set
> correctly, it would set them for me.  The reason I check permissions
is
> incase one of the other admins re-ran checksetup.pl it would reset
> permissions on the file.After the psmission check I had the script
change
> to
> the directory where I have my bugzilla install
> (/usr/local/www/html/zilla/)
> and I have it
> running the whineatnews.pl, collectstats.pl, and whineatnews2.pl.
That
> seemed to fix my issues with the permission denied messages.   hope it
> helps.
> 
> -Kris
> 
> "Brett" <bg at hotmail.com> wrote in message
> news:RcydnYAjaZ3CMOvfRVn-pQ at adelphia.com...
> > "Brett" <bg at hotmail.com> wrote in message
> > news:ZYKdncCAH5dI7PPfRVn-vw at adelphia.com...
> >> Hi,
> >>
> >> I am using bugzilla 2.18 and my checksetup.pl passes fine.
> >>
> >> I can run collectstats.pl on the command line OK. But everyday I
> receive
> > an
> >> email from cron with the following message:
> >>
> >> /etc/cron.daily/bugzilla:
> >> /usr/share/bugzilla/collectstats.pl: ./data/mining/-All-,
Permission
> > denied
> >> /usr/share/bugzilla/collectstats.pl: ./data/mining/Project1,
Permission
> >> denied
> >> /usr/share/bugzilla/collectstats.pl: ./data/mining/Project2,
Permission
> >> denied
> >> /usr/share/bugzilla/collectstats.pl: ./data/mining/Project3.,
> Permission
> >> denied
> >> /usr/share/bugzilla/collectstats.pl: ./data/mining/Project4,
Permission
> >> denied
> >> Can't open DBM dupes file: No such file or directory at
> >> /usr/share/bugzilla/collectstats.pl line 202.
> >> run-parts: /etc/cron.daily/bugzilla exited with return code 2
> >>
> >> The permission for these files is 644 with owner and group as
www-data
> >>
> >> Can anyone tellme what the problem is?
> >>
> >> Thanks,
> >> Brett.
> >
> > Some further information...
> >
> > CollectStats.pl is being run as a perl job under the
cron.daily/bugzilla
> > cron job. I've read otherwhere that this has to be run as a cron
job,
> does
> > it have to be run in addition to this job?
> >
> > the permissions on all the files are 644 with both the owner/group
as
> > www-data.
> >
> > Is anyone able to help me?
> >
> > Thanks,
> > Brett
> >
> >
> 
> 
> 
> _______________________________________________
> mozilla-webtools mailing list
> mozilla-webtools at mozilla.org
> http://mail.mozilla.org/listinfo/mozilla-webtools






More information about the developers mailing list