Re: weird initdb output

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Geoffrey Myers <geof(at)serioustechnology(dot)com>
Cc: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: weird initdb output
Date: 2010-06-28 21:45:50
Message-ID: AANLkTikooRJlKNXpGNp0qmxznxqehRDKbRiG0WoAAdl-@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 28, 2010 at 2:11 PM, Geoffrey Myers
<geof(at)serioustechnology(dot)com> wrote:
> I wrote a script that creates a new database from an existing backup. Works
> great on my machine.  Another user tries to use it and sees the following
> output from initdb:
>
> could not change directory to "/root"
> The files belonging to this database system will be owned by user
> "postgres".
> This user must also own the server process.
>
> Why is it trying to change directory to /root???  Running as the postgres
> user.

Maybe if we could see the script?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message raghu ram 2010-06-28 22:14:19 Prepared statement issue in Pgpool-II
Previous Message Bruce Momjian 2010-06-28 21:36:54 Re: Single quotes vs. double quotes when setting a pwd and other cmds