#34575: Wrong permissions and group on couchdb directory ---------------------------------+------------------------------------------ Reporter: dedalo@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: couchdb ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => jwa@… * priority: High => Normal * port: couchdb 1.2.0 => couchdb Old 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
New 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 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/34575#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS