From owner-freebsd-questions Fri May 12 10:17:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lily.ezo.net (lily.ezo.net [206.102.130.13]) by hub.freebsd.org (Postfix) with ESMTP id 5507E37B530 for ; Fri, 12 May 2000 10:17:11 -0700 (PDT) (envelope-from jflowers@ezo.net) Received: from ezo.net (violet.ezo.net [206.151.177.37]) by lily.ezo.net (8.8.7/8.8.7) with ESMTP id NAA26595 for ; Fri, 12 May 2000 13:17:03 -0400 (EDT) Message-ID: <391C3C7E.9812EE24@ezo.net> Date: Fri, 12 May 2000 13:16:49 -0400 From: Jim Flowers Organization: EZNets, Inc. X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: cvsweb and permissions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to access a cvs repository with the cvsweb port on 4.0-STABLE but I get error messages like: Error: Unexpected output from cvs co: cvs checkout: Sorry, you don't have read/write access to the history file cvs [checkout aborted]: /home/cvsroot/CVSROOT/history: Permission denied 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. The cvsweb.cgi program is installed as 555 owned by root:wheel. All the directories in the repository are 775 owned by user1:wheel and all files are 555 owned by user1:wheel. The history file is 664 I assume the script reference is to the cvsweb.cgi perl program. Shouldn't it be able to write to the history file (664) and place locks in the file directory (775) due to the group write permission? I can get a copy of a file if I change the history permissions to 666 but I still get the following error when I try to annotate it: Status: 500 Internal Error Content-type: text/html Regular access via cvs and cvs pserver works as expected. Obviously I'm not understanding something about the setup for cvsweb. Any help or observations appreciated. Thanks. Jim Flowers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message