Re: Locking or making a folder read-only

Todd Denniston <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Rez P wrote, On 02/08/2010 07:02 PM:
> In our CVS repository we have 2 main project folders:
>  
> LegacyCode
> NewCode
>  
> LegacyCode is no longer being developed and I would like to freeze it or lock it and make it read-only but make it accessible for future research.  Is it possible to do that and how?
>  
> Thanks
>  
> Rez 		

from memory...
setup the  LockDir directive.
set the permissions on the current LegacyCode _Directories_ as read only.
set the permissions on $LockDir/LegacyCode _Directory_ as read write by the user/groups you want to
allow reading from.
set the permissions on the current NewCode _Directories_ so that the appropriate user/groups can
read & write them.
set the permissions on $LockDir/NewCodeDirectory_ as read write by the user/groups you want to allow
reading from.
http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_18.html#IDX284

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.