From dev-return-10052-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Jun 01 15:19:03 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 78107 invoked from network); 1 Jun 2010 15:19:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 15:19:03 -0000 Received: (qmail 57059 invoked by uid 500); 1 Jun 2010 15:19:02 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 56996 invoked by uid 500); 1 Jun 2010 15:19:02 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 56988 invoked by uid 99); 1 Jun 2010 15:19:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 15:19:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 15:19:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o51FIc6a019496 for ; Tue, 1 Jun 2010 15:18:38 GMT Message-ID: <14406786.105781275405518887.JavaMail.jira@thor> Date: Tue, 1 Jun 2010 11:18:38 -0400 (EDT) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Closed: (COUCHDB-181) Should check permissions when starting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt closed COUCHDB-181. -------------------------------- Resolution: Fixed 0.9 and later crash unfavourably with an error message. > Should check permissions when starting > -------------------------------------- > > Key: COUCHDB-181 > URL: https://issues.apache.org/jira/browse/COUCHDB-181 > Project: CouchDB > Issue Type: Bug > Affects Versions: 0.8.1 > Environment: OpenBSD 4.4-RELEASE, Erlang 5.6.3 > Reporter: Simon Lundstrom > Priority: Minor > > When couchdb starts up it should check and warn about permissions on files and directories that it needs to write in/on. Now it just starts, outputs the config (does it always do that when something is wrong?) and does nothing. > ~/soffa % sudo -u nobody bin/couchdb > Apache CouchDB 0.8.1-incubating (LogLevel=info) > Apache CouchDB is starting. > Config Info /home/simmel/soffa/etc/couchdb/couch.ini: > CurrentWorkingDir=/home/simmel/soffa > DbRootDir=/home/simmel/soffa/var/lib/couchdb > BindAddress="127.0.0.1" > Port="5984" > DocumentRoot=/home/simmel/soffa/share/couchdb/www > LogFile=/home/simmel/soffa/var/log/couchdb/couch.log > UtilDriverDir=/home/simmel/soffa/lib/couchdb/erlang/lib/couch-0.8.1-incu > bating/priv/lib > DbUpdateNotificationProcesses= > FullTextSearchQueryServer= > javascript=/home/simmel/soffa/bin/couchjs /home/simmel/soffa/share/couch > db/server/main.js > The issue here is that ~/soffa/var/ is not writeable for the nobody user but couchdb should warn about it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.