The current state is that "cvs server --allow-root ${CVSROOT_DIRNAME}/foo" _will_ allow setting the dirname to anything and will completely ignore the --allow-root without a warning or error message.
CVS_SERVER cannot contain arguments, correct? I suppose you could create a script like:
#!/bin/bash
exec cvs --allow-root /path/from/cvsroot_dirname $*
and then put the scriptname in CVS_SERVER?
Testing over rsh should work, but is kind of silly. I suppose an admin might provide a cvs wrapper as above and hide the real cvs binary. This really is used with ssh authorized_keys as explained in the original message.
Derek Robert Price wrote:> Tim Riker wrote:
patch attached to enable handling --allow-server for "cvs server" use. It's against 1.11.1p1 as I added it to server running the older release, but it's trivial, so applying to 1.11.2 would be easy.Could you resubmit this patch with a test case and possibly documentation, as per the HACKING file in the top level of the source distribution?
Thanks,
Derek
-- Tim Riker - http://rikers.org/ - [EMAIL PROTECTED] Lineo CTO - [EMAIL PROTECTED] - http://www.Lineo.com/ BZFlag maintainer - http://BZFlag.org/ - for fun!
_______________________________________________ Bug-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-cvs