[cvsnt] upgraded acl settings...

Tony Hoyle tony.hoyle at march-hare.com
Thu Mar 2 23:11:54 GMT 2006


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.


John Cole wrote:
> Brian,
>   Thanks, that got it.
> 
> Now on to a related topic, setting acl's with the new syntax.  I want to
> make a branch read only, so in a directory where I have the branch checked
> out, I issued the following command:
> 
> cvs chacl -r V2_5 -u default -m "2.5 has been locked" -a read
> 
> Then I edited a file and committed it, and it allowed me to commit :-(  What
> is the correct format to make a branch read only for everyone?
> 

Just leave the -u out if you want it as the default.  You just set an 
ACL for user 'default'.

Depending on what is set at the root (or the value of AclMode.. see 
other posts) this may not be enough - the default is to allow 
everything, so you need to explicitly deny write/tag/control rather than 
allow read.

Tony



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