Re: [pgsql-hackers-win32] Initdb failing for no apparent reason in

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Steve McWilliams <smcwilliams(at)emprisanetworks(dot)com>
Cc: pgsql-hackers-win32(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] Initdb failing for no apparent reason in
Date: 2005-01-07 18:52:06
Message-ID: 41DEDA56.8030109@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers-win32

Steve McWilliams wrote:

>Nevermind, I found out what this was. Turned out that the customer
>machine in question had particularly heavy security settings and so the
>enetaware account did not have permission to write into the directory
>where it was trying to create PGDATA. Once I widened the settings on the
>parent directory then it worked fine. Kind of odd that inidb.exe just
>fails silently when this is the case however.
>
>
>

Very odd, since initdb calls chmod to fix the directory permissions, if
it already exists, and creates it with those same permissions if it
isn't (in both cases the permissions are 0700 ). If that isn't enough on
Windows, perhaps someone can tell us what is.

cheers

andrew

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-01-07 18:55:25 Re: [pgsql-hackers-win32] Initdb failing for no apparent reason in 8.0.0beta4 on windows
Previous Message Steve McWilliams 2005-01-07 18:38:43 Re: Initdb failing for no apparent reason in 8.0.0beta4 on windows

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2005-01-07 18:55:25 Re: [pgsql-hackers-win32] Initdb failing for no apparent reason in 8.0.0beta4 on windows
Previous Message Steve McWilliams 2005-01-07 18:38:43 Re: Initdb failing for no apparent reason in 8.0.0beta4 on windows