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.
Didn't notice the phrase: <quote>Any of these may be prefixed by 'no' to deny access</quote> in the cvs.chm helpfile. So effectively I set read permissions while not disallowing write.... Will check tonight back at home, Thanks Bo -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf Of Mike Wake Sent: den 23 mars 2005 11:07 To: bo.berglund at telia.com Cc: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Subject: Re: [cvsnt] how to use chacl? Hi Bo, You need to explicitly state nowrite,nocreate,notag,nocontrol as well. So give this command a try cvs chacl -a read,nowrite,nocreate,notag,nocontrol -r Branch_Test -m "branch locked for commits" Bo Berglund wrote: > I tried to duplicate the behaviour I had seen on the cvsnt repository > by setting the acl to read for a folder on a branch. > However when I then tried to commit a changed file on that branch > nothing was blocked, the commit went through just fine. > So I believe that I am using the chacl command wrong. > This is what I did: > cvs chacl -a read -r Branch_Test -m "branch locked for commits" > TestFolder > ***** CVS exited normally with code 0 ***** > > setting ACL for directory TestFolder > > Then I updated the folder to that branch (it was not previously on the > branch). > Next I edited a file inside the folder and on the branch specified in > chacl and committed: > > cvs commit -m "Trying to commit to a readonly branch" -- TestFile.txt > (in directory F:\Engineering\Projects\Bosse\ModuleXX\TestFolder\) > Checking in TestFile.txt; > /KORVkiosk/ModuleXX/TestFolder/TestFile.txt,v <-- TestFile.txt > new revision: 1.1.2.1; previous revision: 1.1 > done > > ***** CVS exited normally with code 0 ***** > > Apparently I did not manage to lock down the branch after all... > How am I supposed to do this, there are no examples in the cvs help > file. > > > /Bo > (Bo Berglund, developer in Sweden) > _______________________________________________ > 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 _______________________________________________ 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