httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PMilan...@nypl.org
Subject RE: [users@httpd] Change owner for apache log files
Date Fri, 11 Mar 2005 13:47:34 GMT
Something silly must be going on.

Those user/group exist? Are the UID and GID correct (unique from root?,
not 1?)

Does apache start correctly? Perhaps it was run as root once and that set
the perms? 



> -----Original Message-----
> From: info@hostinthebox.net [mailto:info@hostinthebox.net]
> Sent: Thursday, March 10, 2005 9:30 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Change owner for apache log files
> 
> Ronaldy, Franky wrote:
> > I have defined the user www and group other in httpd.conf, but the log
> > files still owned by root.
> >
> > Rgds,
> > Franky
> >
> > -----Original Message-----
> > From: dan [mailto:info@hostinthebox.net]
> > Sent: Friday, March 11, 2005 10:15 AM
> > To: users@httpd.apache.org
> > Subject: Re: [users@httpd] Change owner for apache log files
> >
> > Ronaldy, Franky wrote:
> >
> >>Hi All,
> >>
> >>Does anyone know how to change the owner for apache log files
> >>(access_log, agent_log, etc..)? My log files always owned by root
> >>account. Does the owner of log files depends on who execute apachectl
> >>command or I can define somewhere? Thanks.
> >>
> >>Rgds,
> >>Franky
> >>
> >
> >
> > Franky -
> >
> > The files should be owned by whatever user Apache relinquishes it's
> > privileges to, specified by httpd.conf's 'User' and 'Group'
directives.
> >
> > Did you not specify these, or did you specify them as root?
> >
> > Thanks
> > -dant
> >
> 
> I don't know, I've never really paid that much attention to logs
> before...  what about setting a sticky bit to the dir?
> 
> Might want to wait for others to respond to this, as this *may* end up
> breaking something.  I don't know.
> 
> Good luck
> -dant
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message