[wellylug] cgi script question
Mark Signal
mark at remote-assist.net
Mon Oct 2 10:44:30 NZDT 2006
Actually it appears both the /var and /var/log were world readable but
the /var/log/httpd was not so I did a chmod 755 on httpd and it all now
works
The log files themselves were already world readable.
Is anything likely to re write these directory permissions during log
rotations etc?
Thanks for answering.
cheers
Mark
andrej at paradise.net.nz wrote:
> Quoting Mark Signal <mark at remote-assist.net>:
>
>
>> Hi
>>
>> I am trying to write a cgi script that needs to read the apache logs but
>>
>> is getting 'permission denied' when it tries.
>>
>> Can anyone suggest what I could do to get around this?
>>
> Depends on a) which user your apache is run as, and b) what
> the perms on your logs are.
>
> I run apache as nobody:nogroup, and would give nogroup
> read perms on the log.
>
>
>
>> Many thanks
>>
>> Regards
>>
> Cheers,
> Andrej
>
>
>
More information about the wellylug
mailing list