From owner-freebsd-cvsweb@FreeBSD.ORG Wed May 14 23:13:59 2003 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E27337B401 for ; Wed, 14 May 2003 23:13:59 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 877F143FAF for ; Wed, 14 May 2003 23:13:58 -0700 (PDT) (envelope-from bgroh@redhat.com) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h4F6DwH08119 for ; Thu, 15 May 2003 02:13:58 -0400 Received: from hypatia.brisbane.redhat.com (IDENT:root@hypatia.brisbane.redhat.com [172.16.5.3]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4F6DuI05630 for ; Thu, 15 May 2003 02:13:57 -0400 Received: from redhat.com (bernd.brisbane.redhat.com [172.16.5.77]) h4F6Dsj19765 for ; Thu, 15 May 2003 16:13:55 +1000 Message-ID: <3EC3320F.3050104@redhat.com> Date: Thu, 15 May 2003 16:22:07 +1000 From: Bernd Groh User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.2.1) Gecko/20030225 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-cvsweb@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 20 May 2003 18:50:42 -0700 Subject: cvsweb.cgi: minor bug report X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 06:13:59 -0000 Hi there, just a minor bug to report. I'm running Red Hat Linux 8.0 and my httpd version is 2.0.40-11.3. If within a cvs-directory, I do not have read-permissions on any files (though this directory contains files), $where appears to result in being "empty" (not if tested, but empty anyhow?), which results in following error message: ''Error: Failed to spawn GNU rlog on "/home/cvs/module//Module.pm,v, /home/cvs/module//Makefile.PL,v, /home/cvs/module//README,v, /home/cvs/module//MANIFEST,v". Did you set the $command_path in your configuration file correctly ? (Currently "/bin:/usr/bin:/usr/local/bin"'' I guess it would be better in that case to output something like: "Note: You do not appear to have read-permissions to any files within this directory", after listing any readable sub-directories (if any). If you change line 2111 (temporarily of course) to: my ($DirName) = "$cvsroot";#/$where"; the site is being displayed correctly, without any error-message (files or directories I don't have read-access to are simply not shown). Testing for $where doesn't seem to work though? I'd spend some more time on it, if I would have some at the moment, but I guess I'd need to get much more into this script than I have time for at the moment, unfortunately. Hope you know what the problem could be. Thanks, Bernd -- Disclaimer: http://apac.redhat.com/disclaimer