From: hkhanafe@hotmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7985: Postgres Windows Installer fails with "permission denied"
Date: Sat, 23 Mar 2013 11:20:45 +0000
Message-ID: <E1UJMVB-0007kk-35@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 7985
Logged by: hassib
Email address: hkhanafe@hotmail.com
PostgreSQL version: 9.2.2
Operating system: Windows 7
Description:
We are facing an issue with Postgres Windows installer (version 9.2.2).
In some machines we find that the installer works, in other machines it
fails and
when checking the logs, we find that the script "initcluster" failed.
We are installing Postgres in the default directory (i.e. c:\program files
(x86)\PostgreSQL), and
the data directory under "c:\ProgramData".
After long hours of debugging in the machines where it fails we found the
problem in the following
line of the scripts "strInitdbPass = strInstallDir & "\" &
objFso.GetTempName", which is actually
trying to save the password file under the installation directory (i.e.
c:\program files (x86)\PostgreSQL)
, which failed with "Permission denied" error, when changing this line to
point to another directory
the script worked.
We tried to run the installer as "Local Administrator", but that also didn't
fix the issue.
What would be the solution for this issue?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: hkhanafe@hotmail.com
Subject: Re: BUG #7985: Postgres Windows Installer fails with "permission denied"
In-Reply-To: <E1UJMVB-0007kk-35@wrigleys.postgresql.org>
References: <E1UJMVB-0007kk-35@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox