info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: authorisation failed in CVSweb while downloading...


From: Gurpreet Singh (SCM)
Subject: RE: authorisation failed in CVSweb while downloading...
Date: Fri, 30 Jan 2004 19:15:51 +0530

Hi Mark,

The patch ( as defined ) in your mail, Is that a complete and only patch
described.
How do I do it / apply / in which file it needs to be added.

Regards
Gurpreet S

-----Original Message-----
From: Mark D. Baushke [mailto:address@hidden
Sent: Tuesday, January 27, 2004 9:44 PM
To: Gurpreet Singh (SCM)
Cc: address@hidden
Subject: Re: authorisation failed in CVSweb while downloading... 


Hi Gurpreet,

Gurpreet Singh (SCM) <address@hidden> writes:

> Hi All,
> 
> Well I am facing a peculiar problem with CVSweb.
> The error message (in a separate POp up window) being received while
> clicking on the "download" button of a particular file is the following :
> 
> ______________________________________
> Error
> Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute
> module reference invalid: `/Project1/Path1/trial.mcp' 
> Check whether the directory /cvsRepo/CVSROOT exists and the script has
> write-access to the CVSROOT/history file if it exists.
> The script needs to place lock files in the directory the file is in as
> well. 
> _______________________________________
> 
> 
> I have checked all the config files and the read / write access on the
> CVSroot / repsitory.
> Any specific access priveleges to be checked..  or any idea where the
> approach should be like.
> 
> Regards
> Gurpreet S

Hmmm... more fun using cvsweb....

You may find viewcvs.sourceforge.net to be a 'better' web interface to
your repository.

The basic problem is that cvsweb is trying to

    cvs checkout -p -r<some-revision> /Project1/Path1/trial.mcp

using an absolute path for the Project1 module instead of a relative
path like this:

    cvs checkout -p -r<some-revision> Project1/Path1/trial.mcp

I suspect that you will find the patch following my .signature to cvsweb
(depending on which of the many various versions of cvsweb floating
around are in use) will fix your problem as it properly removes the
leading slash from module names.

        Good luck,
        -- Mark

--- cvsweb~     2003-10-29 19:21:27.000000000 -0800
+++ cvsweb      2004-01-27 01:14:51.928244000 -0800
@@ -115,6 +115,7 @@ $where = defined($ENV{'PATH_INFO'}) ? $E
 $doCheckout = ($where =~ /^\/$checkoutMagic/);
 $where =~ s|^/($checkoutMagic)?||;
 $where =~ s|/+$||;
+$where =~ s|^/+||;
 ($scriptname = $ENV{'SCRIPT_NAME'}) =~ s|^/?|/|;
 $scriptname =~ s|/+$||;
 if ($where) {


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]