[cvsnt] Re: Some Question about CVSNT 's permission mode.

Gerhard Fiedler lists at connectionbrazil.com
Sun May 29 14:17:28 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


timesking wrote:

> I have a repository c:\rep
> 
> its directory structure like this:
> c:\rep
>     \CVSROOT
>     \module1
>     ......
> 
> Do you mean that I set the command("cvs chacl -a
> read,nowrite,nocreate,notag,nocontrol") on c:\rep ?? or c:\rep\CVSROOT? 

There is that big confusion about repository root and CVSROOT... :) 

When I say "repository root" I mean the directory where the top level
modules are located if checked out (without considering any entries in the
modules or modules2 files, which of course can change that). I maybe should
have better said "sandbox root", because you have to actually run the
command on a sandbox (see below), but then, the sandbox root may not be the
repository root. So it is a bit confusing to talk about these things... :)

(Has anybody a consistent, unambiguous and still concise nomenclature for
the different locations and situations?)

The directory CVSROOT on the top level of any repository contains the
server administration files.

The client configuration CVSROOT contains one or more of login, server
address, repository, port, protocol etc.

So I meant for you to run the command on the root directory of a sandbox
that has the top level modules of the repository checked out (the first
case above).


> Because I do command like this:
> cvs -d :local:c:\rep chacl -a read,nocreate,nocontrol,notag (in
> directory c:\rep)
> but It tell me followings:
> cvs.exe chacl: in directory .:
> cvs.exe [chacl aborted]: there is no version here; run 'cvs.exe
> checkout' first

Hm... You have to run this in a /sandbox/ of your repository, not in the
repository itself. You usually don't do anything directly in the
repository. (With a very few exceptions, like editing the admin file in the
CVSROOT directory in the repository, or completely deleting a directory
from the repository.)

>From what you are saying (that you ran it in c:\rep) it sounds like you may
have run it on the repository, and not on a sandbox. 

Gerhard



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook