On Wed, May 6, 2009 at 4:41 PM, Krimstock, Roger I (Roger)
<r...@avaya.com> wrote:
>
> Hopefully, this is the file that will provide the information.  It does 
> reference postgresql.conf.

Yep, it is the right file. The pertinent bit is this:

---
Ensuring we can write to the data directory (using cacls):
Are you sure (Y/N)?processed dir: C:\Program Files\PostgreSQL\8.4\data
Access is denied.
----

The command that seems to be failing appears to be:

echo y|cacls "C:\Program Files\PostgreSQL\8.4\data" /T /G "<username>":F

where <username> is your current username as returned by a scripting
object. Can you try running the command in a command prompt please,
and see if it works interactively (using your username)?

Also, please put the following in a file (test.vbs) and run it with:

cscript test.vbs

on the commandline. Don't include the dashes in the file:

-----
Set objNetwork = CreateObject("WScript.Network")
WScript.Echo objNetwork.Username
-----

Thanks.

-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to