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

Andrew Sweger andrew at sweger.net
Thu Feb 17 16:19:13 PST 2011

On Thu, 17 Feb 2011, Matthew Bustad wrote:

> The -d test of if /pub/git is a directory (it is) fails via cgi, but
> (as user apache)
> works via command line?

If "via cgi" is a web server, does the user the web server is running
under have permission to look in /pub?

Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.

More information about the spug-list mailing list