[ale] Grepping on the access_log
Patman
patman at io.com
Tue Aug 1 23:13:49 EDT 2000
Strider,
Thank you! After I chmod 755 all the directories above the access_log,
the perl script greps perfectly! Thanks again!
Pat
On Tue, 1 Aug 2000, Strider Centaur wrote:
>
> Does the user have Directory Permissions? Setting a files permissions does
> not help you if the user does not have permission to access the directory and all
> the directories above it. Linux/Unix permission are inherited ( I believe that's
> what they call it ) from the parent directories.
>
>
>
>
> Patman wrote:
>
> > Hi,
> >
> > I was wondering if I was doing anything wrong. I can't seem to grep on
> > my webserver's access_log (/var/log/httpd/access_log) if I'm logged in as
> > a non-root user, even though I've set the file's permissions to 755. Its
> > owner/group is still root/root.
> >
> > What am I doing wrong?
> >
> > I'm trying to execute a perl script from a webpage to grep the access_log
> > and count the number of time a certain directory has been accessed. When
> > I run the script as root, it works wonderfully (Thanks, Jenn T!), but when
> > the script is run from the webpage, or any non-root user, it does't work
> > because the script is getting a "permission denied" message.
> >
> > Amy I missing some step or is it just not possible?
> >
> > Thanks in advance.
> >
> > Pat
> >
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
>
> --
> Strider Centaur
> HTTP://www.Scifi-Fantasy.com
>
> " It is my observation that unless you really understand the issues, you are
> hardly in a position to criticize. Nearly all Linux users have used Windows,
> but very few Windows users have used Linux. " -- Me
>
>
>
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list