[Top][All Lists]

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

Re: Repository management

From: Derek R. Price
Subject: Re: Repository management
Date: Thu, 14 Dec 2000 09:23:42 -0500

Jason Henry Parker wrote:

> 2. Alternatively, is it possible to tweak CVSROOT/ to make some
>    directories readable or writable by only some users, or do I have
>    to resort to messing with UNIX file permissions?

I usually opt to use UNIX file permissions.  It's pretty simple.  Aside
from setting the read/write permissions as you like you just have to set
the setgid bits.  You'll have to set LockDir in the CVSROOT/config file
too.  The LockDir needs to be writable by everyone and will usually need
the setgid bit too.

> 3. The CVS book says CVSROOT/ needs to be writable by everyone.  My
>    plan is to make CVSROOT/ writable by world, and all the files
>    (except CVSROOT/history) writable only by a cvsadmin user.

At least with LockDir set, CVSROOT only has to be readable by everyone.
I think only the history file needs to be writable by everyone.  I'd be
careful here, too.  I think if a directory has write permissions by
everyone, turning off write permissions on individual files in the
directory is pretty pointless since anyone with write permissions to the
dir can delete any file and replace it with a file of their choosing.  I
think everyone may get chmod abilities on all files in the dir too.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
This punishment is not boring and pointless.
This punishment is not boring and pointless.
This punishment is not boring and pointless...

          - Bart Simpson on chalkboard, _The Simpsons_

reply via email to

[Prev in Thread] Current Thread [Next in Thread]