Re: Locking or making a folder read-only

Girish Kulkarni <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Organization Harish-Chandra Research Institute, Allahabad.
Message-ID <[email protected]>
On Mon, 8 Feb 2010 16:02:11 -0800 Rez P wrote:
> 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

Making the corresponding subdirectory of the repository read-only using
the operating system's settings (chmod or acls on GNU/Linux, for
example) should be sufficient to give read-only access to a project.

You will then continue to be able to checkout or export, but not commit
to that project.  Write access to LockDir will still be required
though.  

-- 
Girish Kulkarni - Allahabad, India - http://athene.org.in/girish
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.