Putting the directories with the web server pages seems smart to me.
However, Apache itself tried to create them there. Is that due to
something I did?

Chuck

On Wed, 2009-07-29 at 10:37 +0900, Raymond Wan wrote:
> Hi Chuck,
> 
> 
> Chuck Crisler wrote:
> > Yes, server-status is enabled but I didn't see anything relevant there.
> > The Apache error log does have an error:
> > 
> > [Tue Jul 28 21:11:34 2009] [error] [client 127.0.0.1] Could not create
> > '/etc/httpd/mason/obj/.__obj_create_marker': Permission denied
> > 
> > I created the mason and obj directories and gave full permission (777)
> > on both. Now it is looking for another directory. How can I instruct the
> > OS to create these directories? Also, I tried to create a user Apache
> > but it claimed that the account already existed. What more do I need to
> > do?
> 
> 
> There is a user assigned to the Apache process.  In my case (Debian), that 
> user 
> is www-data.  I don't know what it is for RedHat, but when you find out (you 
> can 
> just see who owns the apache2 process), you should give it ownership of 
> /etc/httpd/mason ...
> 
> As an aside, perhaps putting the mason and obj directories under /etc is not 
> a 
> good idea.  I don't know what others here would recommend, but I place it 
> with 
> the web server pages so that one whole directory belongs to www-data OR 
> belongs 
> to a group that www-data is in.
> 
> I'm sure someone else might correct me...please listen to them over me.  :-)
> 
> Ray
> 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to