[cvsnt] upgraded acl settings...

John Cole john.cole at uai.com
Fri Mar 3 14:14:26 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.


Thanks Tony,
  I had to use -a nowrite,notag,nocontrol but that worked.

John Cole

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Tony Hoyle
Sent: Thursday, March 02, 2006 5:12 PM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] upgraded acl settings...

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
_______________________________________________
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



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