Re: [users@httpd] Change owner for apache log files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx] Sent: Friday, March 11, 2005 10:15 AM
To: users@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux