You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2010/06/01 17:18:38 UTC
[jira] Closed: (COUCHDB-181) Should check permissions when starting
[ 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.