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

semuel semuel at semuel.co.il
Sat Jan 24 14:59:02 PST 2004


Hello There.

And how do I move it to /www/mason?
I didn't set it to the /usr/local/apache directoy.
It's something that Mason invented itself. 

Semuel.

-----Original Message-----
From: Yuval Kogman [mailto:lists at woobling.org] 
Sent: Sunday, January 25, 2004 12:34 AM
To: semuel at semuel.co.il; Perl in Israel
Subject: Re: [Israel.pm] Mason: Trying to open a directory?

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