Received: by taz.hyperreal.com (8.6.12/8.6.5) id QAA22395; Thu, 14 Mar 1996 16:37:45 -0800 Received: from arachnet.algroup.co.uk by taz.hyperreal.com (8.6.12/8.6.5) with SMTP id QAA22389; Thu, 14 Mar 1996 16:37:42 -0800 Received: from heap.ben.algroup.co.uk by arachnet.algroup.co.uk id aa07183; 15 Mar 96 0:37 GMT Received: from gonzo.ben.algroup.co.uk by heap.ben.algroup.co.uk id aa11828; 15 Mar 96 0:09 GMT Subject: Re: cvs and umask To: new-httpd@hyperreal.com Date: Fri, 15 Mar 1996 00:06:01 +0000 (GMT) From: Ben Laurie In-Reply-To: <199603142214.WAA16067@tees> from "Paul Richards" at Mar 14, 96 10:14:46 pm X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1972 Message-ID: <9603150006.aa25835@gonzo.ben.algroup.co.uk> Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com Status: O X-Status: > > From UNKNOWN > Return-Path: p.richards@elsevier.co.uk > Received: from snowdon.elsevier.co.uk (snowdon.elsevier.co.uk [193.131.197.164]) > by skiddaw.elsevier.co.uk (8.6.13/8.6.12) with ESMTP id VAA13092 > for ; Thu, 14 Mar 1996 21:54:47 GMT > Received: from tees by snowdon with SMTP (PP); Thu, 14 Mar 1996 21:50:51 +0000 > Received: (from dpr@localhost) by tees (SMI-8.6/8.6.12) id VAA11606 > for new-http@hyperreal.com; Thu, 14 Mar 1996 21:53:36 GMT > Date: Thu, 14 Mar 1996 21:53:36 GMT > From: Paul Richards > Message-Id: <199603142153.VAA11606@tees> > To: new-http@hyperreal.com > > > Ok, found a rather straightforward solution to this. options.h has this in it. > > /* > * The default umask to use when creating or otherwise setting file or > * directory permissions in the repository. Must be a value in the > * range of 0 through 0777. For example, a value of 002 allows group > * rwx access and world rx access; a value of 007 allows group rwx > * access but no world access. This value is overridden by the value > * of the CVSUMASK environment variable, which is interpreted as an > * octal number. > */ > #ifndef UMASK_DFLT > #define UMASK_DFLT 002 > #endif > > > What is this set to for you Ben? Anyway, all you need to do is make > sure CVSUMASK is set appropriately and then everything should be fine. > > Everyone else, please take note also. In your configuration set > CVSUMASK to be 002. Surely this has to be set at the server end? Are you sure it works - coz I seem to remember that one of the "improvements" in 1.7 is that it tries to preserve file permissions. Cheers, Ben. > -- Ben Laurie Phone: +44 (181) 994 6435 Freelance Consultant and Fax: +44 (181) 994 6472 Technical Director Email: ben@algroup.co.uk A.L. Digital Ltd, URL: http://www.algroup.co.uk London, England.