Opened 12 years ago

Last modified 12 years ago

#34575 closed defect

Wrong permissions and group on couchdb directory — at Version 1

Reported by: dedalo@… Owned by: jwa@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: couchdb

Description (last modified by mf2k (Frank Schima))

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

Change History (1)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jwa@…
Port: 1.2.0 removed
Priority: HighNormal
Note: See TracTickets for help on using tickets.