[ 
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

Attached a patch that somewhat "fixes" this issue. The check tries to create 
the directory assigned in the .ini file and if it fails instructs couchdb to 
stop starting up while reporting (with a nicer than erlang errors message) what 
the problem was.

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

Reply via email to