Opened 12 years ago

Closed 12 years ago

#34575 closed defect (duplicate)

Wrong permissions and group on couchdb directory

Reported by: dedalo@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: jeff-macports@…
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 (5)

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

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

In the future, please use WikiFormatting, Cc the port maintainer(s) and do not change the priority.

comment:3 Changed 12 years ago by jeff-macports@…

Dup of #32193

comment:4 Changed 12 years ago by jeff-macports@…

Cc: jeff-macports@… added

Cc Me!

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.