From owner-freebsd-cvsweb@FreeBSD.ORG Wed Sep 10 14:24:16 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 BC51D16A4F1 for ; Wed, 10 Sep 2003 14:24:16 -0700 (PDT) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08DF043FB1 for ; Wed, 10 Sep 2003 14:24:16 -0700 (PDT) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp2.pp.htv.fi (Postfix) with ESMTP id 007FE29707D for ; Thu, 11 Sep 2003 00:24:15 +0300 (EEST) Received: from cs78130147.pp.htv.fi (cs78130147.pp.htv.fi [62.78.130.147]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id h8ALOE510245 for ; Thu, 11 Sep 2003 00:24:14 +0300 (EETDST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <20030910000244.41199.qmail@web60207.mail.yahoo.com> References: <20030910000244.41199.qmail@web60207.mail.yahoo.com> Content-Type: text/plain Organization: FreeBSD Message-Id: <1063229054.4296.210.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 (1.4.4-0.vs.1) Date: Thu, 11 Sep 2003 00:24:14 +0300 Content-Transfer-Encoding: 7bit Subject: Re: Permissions Issue 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: Wed, 10 Sep 2003 21:24:16 -0000 On Wed, 2003-09-10 at 03:02, Reuben Balik wrote: > Error: Unexpected output from cvs co: > opendir(/home/theguy/CVSforProject/..): Permission > denied at /var/www/cgi-bin/cvsweb.cgi line 1837 cvs > checkout: CVSROOT is set but empty! Make sure that the > cvs checkout: specification of CVSROOT is valid, > either via the cvs checkout: `-d' option, the CVSROOT > environment variable, or the cvs [checkout aborted]: > CVS/Root file (if any). Yep, permissions issue indeed. I assume you're running FreeBSD-CVSweb 2.0.6, the following guesswork is based on that. Some things to check: Does the web server user have read and execute access to the /var/www/cgi-bin directory? If not, is it acceptable to add read access there? If you don't want to add read access, try adding "chdir('/some/where/with/read/and/exec/perms');" into the beginning of cvsweb.cgi and see if it helps. I committed a similarish fix to the development branch last weekend. Let me know (via replying to this list) if the above works for you or not. > I'm sorry if this is posted to the wrong list. (if it > is, can someone let me know where I should post it) No prob, this is the correct place.