[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 10:42:27 -0700 |
On 2011-04-08, at 6:04 AM, Sebastian Hilbert wrote:
> This works for me as root (we recommend to run upgrade as root anyway)
>
> sudo -u postgres /Library/PostreSQL/8.4/bin/psql -l -p5432
"g" missing from /Library/PostreSQL/8.4/bin/psql
The above (with a "g" in PostreSQL) will work, but 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
List of databases
Name | Owner | Encoding | Collation | Ctype | Access privileges
------------+----------+----------+-----------+-------+-----------------------
gnumed_v10 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v11 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v12 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v13 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v14 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v15 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v2 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v3 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v4 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v5 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v6 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v7 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v8 | gm-dbo | UTF8 | en_CA | en_CA |
gnumed_v9 | gm-dbo | UTF8 | en_CA | en_CA |
postgres | postgres | UTF8 | en_CA | en_CA |
template0 | postgres | UTF8 | en_CA | en_CA | =c/postgres
: postgres=CTc/postgres
template1 | postgres | UTF8 | en_CA | en_CA | =c/postgres
: postgres=CTc/postgres
(17 rows)
MacBook:bootstrap root#
-- Jim
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 <=
- 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, 2011/04/09