From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12887 invoked from network); 11 Feb 2004 10:29:08 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 11 Feb 2004 10:29:08 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aqrbt-0006F1-6A for listarch-gnats-devel@sources.redhat.com; Wed, 11 Feb 2004 05:28:49 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AqrbU-00067l-3j for help-gnats@gnu.org; Wed, 11 Feb 2004 05:28:24 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AqraU-0005aw-4G for help-gnats@gnu.org; Wed, 11 Feb 2004 05:27:53 -0500 Received: from [62.241.160.9] (helo=shockwave.systems.pipex.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AqraT-0005aR-DX for help-gnats@gnu.org; Wed, 11 Feb 2004 05:27:21 -0500 Received: from dsl.pipex.com (81-86-67-130.dsl.pipex.com [81.86.67.130]) by shockwave.systems.pipex.net (Postfix) with ESMTP id 7AAB51C00267; Wed, 11 Feb 2004 10:27:19 +0000 (GMT) Message-ID: <402A0387.9050403@dsl.pipex.com> Date: Wed, 11 Feb 2004 10:29:00 -0000 From: Evan Lavelle User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: help-gnats@gnu.org References: <40290BDF.2000709@dsl.pipex.com> <200402110008.11154.Hans-Albert@HA-Schneider.de> In-Reply-To: <200402110008.11154.Hans-Albert@HA-Schneider.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Hans-Albert Schneider , Mel Hatzis Subject: Re: Access level problem on gnats 4.0 X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q1/txt/msg00082.txt.bz2 Thanks Mel/Hans-Albert - some more info below. I thought I had fixed the access problem with the extra ':' in my user_access, but this actually made no difference. I've got one local test database, on the same machine as the server. '/usr/local/etc/gnats/databases' contains: default:Bug database:/usr/local/com/gnatsdb test:test database:/home/evan/work/test/gnatsdb I've got one host_access file, and three user_access files, in these locations: /usr/local/etc/gnats/defaults/gnatsd.user_access (this is empty) /usr/local/etc/gnats/gnatsd.host_access /usr/local/com/gnatsdb/gnats-adm/gnatsd.user_access /home/evan/work/test/gnatsdb/gnats-adm/gnatsd.user_access 'host_access' contains: [canonical-name]:admin: *:none: [canonical-name] is my machine's full name from /etc/hosts; using either the short name or 'localhost', or removing this line completely, makes no difference. The two 'user_access' files currently contain: evan:$0$evan:admin: *::none: I then set GNATSDB to 'test'. With this setup, I can use send-pr to create a problem report in the 'test' database, and I can use query-pr to view it, and edit-pr to edit it. I know that it's my local test database, because 'query-pr --database test 1' shows the PR, but 'query-pr --database default 1' shows nothing. PROBLEMS: --------- 1) If I restart xinetd, and then run 'gnatsd' to administer the test database, I can't get any permission above 'none': evan 113 > gnatsd 200 [canonical-name] GNATS server 4.0 ready. USER evan evan 210-Now accessing GNATS database 'test' 210 User access level set to 'none' I've tried different passwords, including none, and it makes no difference. 2) If I now login as another user (gnats), I can *still* edit the test database using edit-pr. The permissions from the two access files appear to be ignored when using edit-pr, send-pr, etc. Any ideas? Many thanks Evan _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats