[Israel.pm] Mason: Trying to open a directory?

Yuval Kogman lists at woobling.org
Sat Jan 24 14:34:16 PST 2004


On Sun, Jan 25, 2004 at 12:16:36AM +0200, semuel wrote:

> [Sat Jan 24 23:57:40 2004] [error] mkdir /usr/local/apache/mason: 
> 
> Permission denied at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm 

the user apache is running as does not have write priviliges to
/usr/loca/apache, so it can't make the change.

I think you shouldn't give it write access, though. Try moving the dir
to somewhere like /www/mason, where if something breaks, it still
doesn't harm your installation.

In your apache conf, search for the effective UID and GID, and use a
directory for which either the UID, the group, or both have write
access.

Good luck!

-- 
 ()  Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me does a karate-chop-flip: neeyah!!!!!!!!!!!!!!




More information about the Perl mailing list