Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 00:24:14 +0300
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: Permissions Issue
Message-ID:  <1063229054.4296.210.camel@bobcat.mine.nu>
In-Reply-To: <20030910000244.41199.qmail@web60207.mail.yahoo.com>
References:  <20030910000244.41199.qmail@web60207.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1063229054.4296.210.camel>