Re: Newby

From: Gert-Jan Looy <[email protected]>
Date: Sun, 25 May 1997 20:49:25 +0000

Mail Delivery Subsystem wrote:

> Jeff Halper wrote:
> >
> > I just set up squid for the first time. It wouldnt run - kept
> > complainong it couildnt create log files.
> >
> > So - I did this
> >
> > chmod 777 /usrlocal/squid/cache and
> > chmod 777 /usr/local/squid/logs
> >
> > Is this going to be a problem? Any help or comments are appreciated
> >
>
> This is not a good idea, unless you have a dedicated server.
> (And even then 777 is never good).
>
> Just change the ownership of your cache and log directories to
> the uid squid is running under (see squid.conf).
>
> ____________________________________________________________
> Gert-Jan Looy Unix SysAdm Siemens / SNI Nederland N.V.
>
> E-mail: gj@siemens.nl Phone: +31 70 333 2982 / Fax: 2948

-- 
___________________________________________________________
Gert-Jan Looy   Unix SysAdm    Siemens / SNI  Nederland N.V.
E-mail: gj@siemens.nl    Phone: +31 70 333 2982 / Fax: 2948

attached mail follows:


The original message was received at Sun, 25 May 1997 20:34:08 GMT
from smtp@localhost

   ----- The following addresses had delivery problems -----
squid-users@nlanr.com (unrecoverable error)

   ----- Transcript of session follows -----
550 squid-users@nlanr.com... Host unknown (Name server: nlanr.com: host not found)

   ----- Original message follows -----
Received: by sgn.siemens.nl (8.6.12/sgn-1)
        id UAA09684; Sun, 25 May 1997 20:34:08 GMT
Received: from smtpgw.siemens.nl/194.138.145.22 by sgn.siemens.nl via smtp-safe (2.0)
        id safeBAAa002NG; Sun May 25 22:33:47 1997 with SMTP
Received: from i598642.siemens.nl by baldur.siemens.nl with SMTP;
          Sun, 25 May 1997 22:40:30 +0200
Message-ID: <3388A50E.3878F1F7@siemens.nl>
Date: Sun, 25 May 1997 22:46:06 +0200
From: Gert-Jan Looy <gj@siemens.nl>
Reply-To: gj@siemens.nl
Organization: Siemens
X-Mailer: Mozilla 4.0b4 [en] (Win95; I)
MIME-Version: 1.0
To: Jeff Halper <squid@ihot.com>, squid-users@nlanr.com
Subject: Re: Newby question
X-Priority: 3 (Normal)
References: <3388960B.2A64@ihot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jeff Halper wrote:
>
> I just set up squid for the first time. It wouldnt run - kept
> complainong it couildnt create log files.
>
> So - I did this
>
> chmod 777 /usrlocal/squid/cache and
> chmod 777 /usr/local/squid/logs
>
> Is this going to be a problem? Any help or comments are appreciated
>

This is not a good idea, unless you have a dedicated server.
(And then still 777 is never good).

Just change the ownership of your cache and log directories to
the uid squid is running under (see squid.conf).

____________________________________________________________
Gert-Jan Looy Unix SysAdm Siemens / SNI Nederland N.V.

E-mail: gj@siemens.nl Phone: +31 70 333 2982 / Fax: 2948
Received on Sun May 25 1997 - 13:52:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:15 MST