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

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-bugs by date

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

pgsql-hackers-win32 by date

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

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