[cvsnt] How to make read only branches for SSPIpasswdauthentication.

Bo Berglund Bo.Berglund at system3r.se
Thu Nov 3 15:11:33 GMT 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.


This is really simple:
In order for you to be able to use a cvs command *both* the cleint cvs and
the server cvs must understand the command.
Since cvs chacl was added after 2.0.51 your client cvs is too old to send
the chacl command to the server...

Update the client as well and you will be fine.

/Bo

-----Original Message-----
From: rajiv kumar [mailto:cvsissue at yahoo.com]
Sent: den 3 november 2005 16:01
To: Bo Berglund
Subject: RE: [cvsnt] How to make read only branches for SSPIpasswdauthentication.


Hi Bo,
I had following conguration-
Client: CVSNT 2.0.51d (client/server)
Server: CVSNT 2.5.01 (Travis) Build 1976 (client/server)

Thought it was old, so upgraded it with 
Client: CVSNT 2.0.51d (client/server)
Server: CVSNT 2.5.02 (Servalan) Build 2115 (client/server)

and executed the following command from the sandbox..
cvs chacl -a read,nowrite,nocreate,notag,nocontrol -r branchname1 -m "Branch is locked for commit"
given in the document http://www.cvsnt.org/manual/html/chacl.html, but this time getting 

chacl: invalid option -- a
Usage: cvs chacl -R [-r tag] {user|default}:[{[r][w][c]|[n]}] [directory...]
        -R      Recursively set permissions
        -r      Set permissions on specific branch
Not sure where the things are getting wrong :-(
~ Rajiv Kr. Srivastava




Bo Berglund <Bo.Berglund at system3r.se> wrote: 
If your server does not support cvs chacl then it is too old.
What does 'cvs ver' say when executed inside a sandbox?


Read the wiki dokumentation for CVSNT 2.5.03.2125:

http://www.cvsnt.org/manual/html/
and
http://www.cvsnt.org/manual/html/chacl.html
and
http://www.cvsnt.org/manual/html/precommand.html
and
http://www.cvsnt.org/manual/html/commit-files.html#syntax

/Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of rajiv kumar
Sent: den 3 november 2005 07:21
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: RE: [cvsnt] How to make read only branches for
SSPIpasswdauthentication.



Thanks Bo for your reply!!

I tried different combinations of chacl command like,



cvs chacl -R -r branchname username:r modulename

cvs chacl -R -r branchname default:r modulename



but all the time end up with the same msg..



chacl aborted: server doesn't support chacl



Also tried to look at precommand script at different location including..

http://www.cvsnt.org/wiki/



but couldn't find it.

Could you provide me the path for the same?



Thanks

Rajiv Kr. Srivastava



Bo Berglund wrote: look at the cvs chacle command in the cvsnt helpfile.
It does exactly what you want.

Also look at the new scriptfiles that have been added by CVSNT, there is for example a precommand script that gives you the capability to grab a command before cvsnt executes anything.

/Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of rajiv kumar
Sent: den 2 november 2005 09:23
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] How to make read only branches for SSPI
passwdauthentication.


PS: sorry for such a long mail. Needed to describe my problem :-(

I have CVSNT 2.5.01.1976 build with SSPI authentication (using passwd file for providing access to CVS server). My question is:
How can I make a branch read only?

I have script which retruns 1 from commitinfo, and using which I am able to make Main trunk read only; but could not be able to apply the same for branches.

Any hint/help will be highly appreciated.

Otherwise if anyone can tell me how can I grab the current executing command against the CVS server?

I thought to grab the command let's say..

CVS commit -kb -b branchname file.txt

and parse it with a script in commitinfo, and return 0 or 1 depending on checkins required for a branch. Using this way, I think I can achieve my goal.

Pls show me any avenue to achieve the read only branches goal.

Thanks in adv..
Rajiv Kr. Srivastava





---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. 
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. 
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



Yahoo! FareChase - Search multiple travel sites in one click. 



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