Re: making a read-only module in a read/write repository

Jim Hyslop <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Mercer wrote:
> We have a CVS repository containing many modules and I need to make a
> couple of these modules read-only but maintain read/write access for
> the other modules in the repository. I have tried simply changing the
> permissions of the modules on the server to read only but this leads
> to failure in creating read locks.
You're on the right track. Make the modules read only, and add the
"Lockdir=somedir" setting to the config file, where "somedir" is a path
to a writable directory. See Appendix C.11 in the manual for more details.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknTUSMACgkQLdDyDwyJw+NlqACgpfPoOJJytDZIBI+0xdFeVdSc
qu4AnjWm2qKYMb+TyWRXenrqq7zi9I7e
=SOcr
-----END PGP SIGNATURE-----
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.