On Wed, May 6, 2009 at 4:41 PM, Krimstock, Roger I (Roger)
<rik@avaya.com> wrote:
>
> Hopefully, this is the file that will provide the information. =A0It 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 =3D CreateObject("WScript.Network")
WScript.Echo objNetwork.Username
-----
Thanks.
--=20
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com