SPUG: perls 'test' -d cgi vs. command line.

Matthew Bustad mybustad at gmail.com
Fri Feb 18 12:34:02 PST 2011


OK, I knew it must have been simple:  SELINUX was blocking httpd from
reading the directory.

-- Matthew

On Fri, Feb 18, 2011 at 12:09 PM, Matthew Bustad <mybustad at gmail.com> wrote:
> Yes, and comparing to another CenOS 5.5 box, all perl rpm's are the same.
>
> Very odd behavior.
>
> -- Matthew
>
> On Fri, Feb 18, 2011 at 12:07 PM, Ronald J Kimball <rjk-spug at tamias.net> wrote:
>> On Fri, Feb 18, 2011 at 09:59:28AM -0800, Matthew Bustad wrote:
>>> On Thu, Feb 17, 2011 at 4:19 PM, Andrew Sweger <andrew at sweger.net> wrote:
>>> > If "via cgi" is a web server, does the user the web server is running
>>> > under have permission to look in /pub?
>>>
>>> Cut down to a minimal test:
>>
>> Did you check the permissions, as Andrew suggested?  That seems like the
>> likely explanation to me.
>>
>> Ronald
>>
>


More information about the spug-list mailing list