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

From Andrew Dunstan
Subject Re: [pgsql-hackers-win32] Initdb failing for no apparent reason in
Date
Msg-id 41DEDA56.8030109@dunslane.net
Whole thread Raw
In response to Re: Initdb failing for no apparent reason in 8.0.0beta4 on windows  ("Steve McWilliams" <smcwilliams@EmprisaNetworks.com>)
List pgsql-bugs

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

pgsql-bugs by date:

Previous
From: "Fel"
Date:
Subject: BUG #1374: windows installer
Next
From: "Tony Caduto"
Date:
Subject: BUG #1375: Problem with Dollar qouting functions