[Fusionforge-commits] r15350 - branches/Branch_5_1/src/plugins/scmcvs/sbin

Julien HEYMAN jheyman at fusionforge.org
Wed Apr 18 11:20:52 CEST 2012


Author: jheyman
Date: 2012-04-18 11:20:51 +0200 (Wed, 18 Apr 2012)
New Revision: 15350

Modified:
   branches/Branch_5_1/src/plugins/scmcvs/sbin/cvs-pserver
Log:
Add option -f in cvs-pserver

Without this option, you have this error in checkout anonymous pserver :
cvs checkout: cannot open /root/.cvsignore: Permission denied

Modified: branches/Branch_5_1/src/plugins/scmcvs/sbin/cvs-pserver
===================================================================
--- branches/Branch_5_1/src/plugins/scmcvs/sbin/cvs-pserver	2012-04-18 09:19:52 UTC (rev 15349)
+++ branches/Branch_5_1/src/plugins/scmcvs/sbin/cvs-pserver	2012-04-18 09:20:51 UTC (rev 15350)
@@ -12,6 +12,6 @@
 CVS_PSERV_REPOS=$(find $CVSROOT -mindepth 1 -maxdepth 1 -type d)
 allow_root_opts="--allow-root=/$(echo $CVS_PSERV_REPOS | sed 's: : --allow-root=/:g')"
 
-exec /usr/sbin/chroot $CHROOTDIR /usr/bin/cvs ${allow_root_opts} pserver
+exec /usr/sbin/chroot $CHROOTDIR /usr/bin/cvs -f ${allow_root_opts} pserver
 
 # End of file.




More information about the Fusionforge-commits mailing list