httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: cvs and umask
Date Fri, 15 Mar 1996 00:06:01 GMT
> 
> 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 <new-http@hyperreal.com>; 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 <dpr@cadair.elsevier.co.uk>
> 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.

Mime
View raw message