Opened 15 years ago
Last modified 5 years ago
#29596 assigned defect
PostgreSQL 8.4 post-install intructions doesn't work with umask 027
| Reported by: | oscar.brynolf@… | Owned by: | jyrkiwahlstedt |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | cooljeanius (Eric Gallager) | |
| Port: | postgresql84-server |
Description
I'm not sure if postgresql84 is supposed to work with umask 027, but anyway, this happens:
———
I'm running OSX with 'umask 027' in '/etc/launchd-user.conf'. After 'port install posgresql84-server', running this line of the post-install instructions:
$ sudo su postgres -c '/opt/local/lib/postgresql84/bin/initdb -D /opt/local/var/db/postgresql84/defaultdb'
result in
... initdb: could not access directory "/opt/local/var/db/postgresql84/defaultdb": Permission denied
and
$ ls -l /opt/local/var/db drwxr-x--- root admin ... postgresql84/
The problem is solved with
$ sudo chmod o+rx /opt/local/var/db/postgresql84
———
I don't know where/what/how to solve this, or, like I said, if it's even a proper problem.
Probably related to at least #14706, but not the same.
Thanks! /Oscar
Change History (3)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
| Cc: | jwa@… added |
|---|---|
| Owner: | changed from macports-tickets@… to mww@… |
comment:2 Changed 9 years ago by mf2k (Frank Schima)
| Cc: | jyrkiwahlstedt removed |
|---|---|
| Keywords: | umask post-install removed |
| Owner: | changed from mww@… to jyrkiwahlstedt |
| Status: | new → assigned |
comment:3 Changed 5 years ago by cooljeanius (Eric Gallager)
| Cc: | cooljeanius added |
|---|
Note: See
TracTickets for help on using
tickets.

Please remember to cc the maintainers.