[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release

From: Jim Busser
Subject: Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release
Date: Fri, 08 Apr 2011 16:55:39 -0700

On 2011-04-08, at 10:42 AM, Jim Busser wrote:

can we look for a moment why the equivalent hiccups (getcwd problem) if one tries to use the MacPorts psql

MacBook:bootstrap root# sudo -u postgres /opt/local/lib/postgresql84/bin/psql -l -p5432
could not identify current directory: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied

From the bootstrap directory (as root) I was able to use

sh ./ 14 15

to get v14 to v15 database updated from the server package released with client 0.9.2 as follows (thanks!)

my original PATH was

plus one of (I used the /Library)

but it needed the addition of one of

export PATH=$PATH:/Library/PostgreSQL/8.4/bin/
export PATH=$PATH:/opt/local/lib/postgresql84/bin

and at first the script would not complete on account of "cannot bootstrap bundles" until I uncommented the postgres password prompt in


[user postgres]
name = postgres
# password =

--> Can auto-detection of Mac OS (such as was inserted in be incorporated into future bootstrap and update conf files?

-- Jim

reply via email to

[Prev in Thread] Current Thread [Next in Thread]