[cvsnt] Setting Branch ACLs
Gerhard Fiedler
lists at connectionbrazil.com
Mon Sep 17 22:13:23 BST 2007
Rod Ghorashi-Zadeh wrote:
> Thanks for your response. how do I list the branches from the command line?
You can use 'cvs log -t <file>'. It'll list both tags and branches; I begin
each tag with a 't' and each branch with a 'b' so that this is more
obvious.
But generally I prefer a visual tool for that (WinCvs or TortoiseCVS).
> Will this work using the 'rchacl' command? Can you give me an example
> usage?
cvs rchacl -r bTestBranch -u theUser -a read rootModule/1stLevelModule
Assigns read permissions to theUser on branch bTestBranch in the module
rootModule/1stLevelModule.
Gerhard
> ----- Original Message -----
> From: "Gerhard Fiedler" <lists at connectionbrazil.com>
> Newsgroups: support.cvsnt
> To: <cvsnt at cvsnt.org>
> Sent: Monday, September 17, 2007 12:27 PM
> Subject: Re: [cvsnt] Setting Branch ACLs
>
>> Rod Ghorashi-Zadeh wrote:
>>
>>> I apologize if this has been answered before, I searched around but
>>> couldn't find anything. My questions is: How do you set CVSNT type ACLs
>>> on branches?
>>
>> Check out the manual at <http://www.cvsnt.org/manual/html/chacl.html>
>> (also
>> a good source to check first for any other problems), or the online help:
>>
>> <P:\>9>cvs -H chacl
>> Usage: cvs chacl [-R] [-r branch] [-u user] [-j branch] [-n] [-p priority]
>> [-m message] [-a [no]{rea
>> d|write|create|tag|control|all|none}[,...]] [-d] [file or directory...]
>> -a access Set access
>> -d Delete ACL
>> -j branch Apply when merging from branch
>> -m message Custom error message
>> -n Do not inherit ACL
>> -p priority Override ACL priority
>> -r branch Apply to single branch
>> -R Recursively change subdirectories
>> -u user Apply to single user
>> (Specify the --help global option for a list of other help options)
>>
>> You want to use the -r option.
>>
>> Gerhard
More information about the cvsnt
mailing list