[GENERAL] weird initdb output

2010-06-28 Thread Geoffrey
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

Re: [GENERAL] weird initdb output

2010-06-28 Thread John R Pierce
On 06/28/10 11:41 AM, Geoffrey 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

Re: [GENERAL] weird initdb output

2010-06-28 Thread Tom Lane
Geoffrey li...@serioustechnology.com writes: 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

[GENERAL] weird initdb output

2010-06-28 Thread Geoffrey Myers
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

Re: [GENERAL] weird initdb output

2010-06-28 Thread Geoffrey
Tom Lane wrote: Geoffrey li...@serioustechnology.com writes: 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

Re: [GENERAL] weird initdb output

2010-06-28 Thread Scott Marlowe
On Mon, Jun 28, 2010 at 2:11 PM, Geoffrey Myers g...@serioustechnology.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