Opened 12 years ago
Last modified 12 years ago
#34575 closed defect
Wrong permissions and group on couchdb directory — at Initial Version
Reported by: | dedalo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | ||
Port: | couchdb |
Description
Hi everyone,
Since CouchDB runs as couchdb user, the group of "/opt/local/etc/couchdb" directory must be "couchdb" or it will not able to write on the above dir where "local.ini" is located.
On "/opt/local/etc/" you can find:
drwxr-xr-x 4 root admin 136 May 22 17:09 couchdb
Instead must be:
drwxr-xr-x 4 root couchdb 136 May 22 17:09 couchdb
Also the original files in "/opt/local/etc/couchdb" are:
-rw-r--r-- 1 root admin 13493 May 22 17:09 default.ini -rw-r--r-- 1 root admin 3457 May 22 17:47 local.ini
And instead they must be:
-rw-rw-r-- 1 root couchdb 13493 May 22 17:09 default.ini -rw-rw-r-- 1 root couchdb 3457 May 22 17:47 local.ini
Note: See
TracTickets for help on using
tickets.