[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: |
Sebastian Hilbert |
Subject: |
Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release |
Date: |
Sat, 9 Apr 2011 10:18:01 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.3-16-desktop; KDE/4.6.0; i686; ; ) |
Am Samstag, 9. April 2011, 01:55:39 schrieb Jim Busser:
> 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
> >
> > /opt/local/lib/postgresql84/bin/
> >
> > ----------------------------------------
> > MacBook:bootstrap root# sudo -u postgres
> > /opt/local/lib/postgresql84/bin/psql -l -p5432 could not identify
> > current directory: Permission denied
> > Password:
> > 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 ./upgrade-db.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
>
> /opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Version
> s/Current/bin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin 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
>
> update_db-v14_v15.conf
>
> [user postgres]
> name = postgres
> # password =
>
> --> Can auto-detection of Mac OS (such as was inserted in gm-print_doc.sh)
> be incorporated into future bootstrap and update conf files?
>
This would involve having sed, awk or the like available since the shell
script would have to call it for changing the files (I do it with sed on MS
Windows)
Sebastian
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, (continued)
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Karsten Hilbert, 2011/04/07
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Jim Busser, 2011/04/07
- Message not available
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Karsten Hilbert, 2011/04/08
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Sebastian Hilbert, 2011/04/08
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Sebastian Hilbert, 2011/04/08
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Jim Busser, 2011/04/08
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Jim Busser, 2011/04/08
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Jim Busser, 2011/04/08
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Sebastian Hilbert, 2011/04/09
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release, Jim Busser, 2011/04/08
- Re: su -c now fatal on Mac? was Re: [Gnumed-devel] GNUmed 0.9.1 Release,
Sebastian Hilbert <=