From dev-return-2506-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Feb 11 08:37:26 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 81857 invoked from network); 11 Feb 2009 08:37:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 08:37:26 -0000 Received: (qmail 73669 invoked by uid 500); 11 Feb 2009 08:37:25 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 73629 invoked by uid 500); 11 Feb 2009 08:37:25 -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 73618 invoked by uid 99); 11 Feb 2009 08:37:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 00:37:25 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 08:37:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA83E234C48D for ; Wed, 11 Feb 2009 00:37:02 -0800 (PST) Message-ID: <1607834467.1234341422697.JavaMail.jira@brutus> Date: Wed, 11 Feb 2009 00:37:02 -0800 (PST) From: "Ulises Cervino Beresi (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-153) Erlang should warn about log/data file permissions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ulises Cervino Beresi updated COUCHDB-153: ------------------------------------------ Attachment: issue-153.patch New patch. This time it reports a pretty message and stops the bootup process (perhaps in an ugly fashion). Still makes use of io:format() as the log server hasn't been started at this point. Output from console: Apache CouchDB 0.9.0a-incubating (LogLevel=error) is starting. [error] Can't access "/arse/foo" (reason: eacces) Ulises-Cervi-o-Beresis-Computer:couchdb ulises$ > Erlang should warn about log/data file permissions > -------------------------------------------------- > > Key: COUCHDB-153 > URL: https://issues.apache.org/jira/browse/COUCHDB-153 > Project: CouchDB > Issue Type: Bug > Components: Infrastructure > Reporter: Noah Slater > Assignee: Jan Lehnardt > Priority: Critical > Attachments: issue-153.patch, issue-153.patch > > > CouchDB is installed as root for most people, and hence without remembering to change the permissions on the log/data directories, errors are very common. The problems caused by incorrect permissions can be very confusing. We should re-add the checks for these that used to be in the init script, but place them in CouchDB core. We need to do this so that the multiple configuration settings will be taken account for. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.