couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulises Cervino Beresi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-153) Erlang should warn about log/data file permissions
Date Wed, 11 Feb 2009 08:37:02 GMT

     [ 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.


Mime
View raw message