Hello!
The new-born CVSROOT/config suggests setting PreservePermissions, but says
nothing about LockDir. The fix is attached, Changelog is inside.
Regards,
Pavel Roskin
============================
diff -u -r1.1939 ChangeLog
--- src/ChangeLog 2000/07/17 15:42:15 1.1939
+++ src/ChangeLog 2000/07/19 21:08:50
@@ -1,3 +1,8 @@
+2000-07-19 Pavel Roskin <[EMAIL PROTECTED]>
+
+ * mkmodules.c (config_contents): Add a commented out example for
+ LockDir. Don't suggest PreservePermissions unless it's enabled.
+
2000-07-17 Larry Jones <[EMAIL PROTECTED]>
* login.c (get_cvs_password): Handle malformed ~/.cvspass more
diff -u -r1.60 mkmodules.c
--- src/mkmodules.c 2000/03/23 22:52:25 1.60
+++ src/mkmodules.c 2000/07/19 21:08:51
@@ -280,10 +280,17 @@
"# Set this to \"no\" if pserver shouldn't check system users/passwords\n",
"#SystemAuth=no\n",
"\n",
+ "# Put CVS lock files in that directory rather than directly in the
+repository.\n",
+ "# It may be useful if you want to restrict write permissions on the
+repository\n",
+ "# without limiting read access\n",
+ "#LockDir=/var/lock/cvs\n",
+ "\n",
+#ifdef PRESERVE_PERMISSIONS_SUPPORT
"# Set `PreservePermissions' to `yes' to save file status information\n",
"# in the repository.\n",
"#PreservePermissions=no\n",
"\n",
+#endif
"# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top\n",
"# level of the new working directory when using the `cvs checkout'\n",
"# command.\n",
============================