Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: /var/log/httpd attributes

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: /var/log/httpd attributes

Reply

Author jwbernin
Full name John Berninger
Date 2003-04-07 06:29:51 PDT
Message Ummm.... no. The real solution, which we'll be implementing in CVS
soon and in future releases, is to use a logfile of
/var/log/current.log. We will not be changing permissions on any
pre-existing directories. Ever.

On Mon, 07 Apr 2003, Kri?tof Petr wrote:

> Hi,
>
> I just explored that apache on RedHat comes with directory
> /var/log/httpd/ 0700 root.root
>
>
> and if we use logfile
> /var/log/httpd/current.log 0644 apache,apache
>
> it will not work, I think.
>
> Solution is to add to postin script lines
> chgrp apache /var/log/httpd
> chmod g+rwx /var/log/httpd
>
> or insert this line to %files section in rpm .spec file
> %attr(0750,apache,apache) %{_localstatedir}/log/httpd/
> (hope this will work)
>
> Experienced users can do it after installation by himself,
> but some beginers may have big troubles with this deal.
>
>
> Petr
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
> For additional commands, e-mail: dev-help at current dot tigris dot org

--
John Berninger

GPG Key ID: A8C1D45C
        Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C

Sit vis nobiscum.
--

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

« Previous message in topic | 2 of 5 | Next message in topic »

Messages

Show all messages in topic

/var/log/httpd attributes =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof dot P at fce dot vutbr dot cz> =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= <Kristof dot P at fce dot vutbr dot cz> 2003-04-07 06:21:03 PDT
     Re: /var/log/httpd attributes jwbernin John Berninger 2003-04-07 06:29:51 PDT
         Re: /var/log/httpd attributes =?windows-1252?Q?Kri=9Atof_Petr?= <Kristof dot P at fce dot vutbr dot cz> =?windows-1252?Q?Kri=9Atof_Petr?= <Kristof dot P at fce dot vutbr dot cz> 2003-04-07 06:47:28 PDT
         Re: /var/log/httpd attributes Stephen Smoogen <smoogen at lanl dot gov> Stephen Smoogen <smoogen at lanl dot gov> 2003-04-07 09:14:04 PDT
             Re: /var/log/httpd attributes jwbernin John Berninger 2003-04-07 09:54:26 PDT
Messages per page: