Skip site navigation (1) Skip section navigation (2)

weird initdb output

From: Geoffrey Myers <geof(at)serioustechnology(dot)com>
To: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: weird initdb output
Date: 2010-06-28 18:11:37
Message-ID: 4C28E5D9.3010503@serioustechnology.com (view raw or flat)
Thread:
Lists: pgsql-general
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.

Any assistance would be appreciated.

-- 
Geoffrey Myers
Myers Consulting Inc.
770.592.1651

Responses

pgsql-general by date

Next:From: Tom LaneDate: 2010-06-28 18:22:04
Subject: Re: Is full-row updates slower than single-value updates
Previous:From: Pavel StehuleDate: 2010-06-28 17:59:09
Subject: Re: Is full-row updates slower than single-value updates

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group