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

Re: BUG #4785: Installation fails

From: "Krimstock, Roger I (Roger)" <rik(at)avaya(dot)com>
To: "Dave Page" <dpage(at)pgadmin(dot)org>,"Pg Bugs" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #4785: Installation fails
Date: 2009-05-12 01:17:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Should the installer be the user "postgres"?  I've installed both as
"rik" (global domain) and "postgres" (local domain).  Each time
installation fails to write the "conf" file in /data.  See below for
answers to your questions.


P.S. OS is XP

-----Original Message-----
From: Dave Page [mailto:dpage(at)pgadmin(dot)org] 
Sent: Thursday, May 07, 2009 2:31 AM
To: Krimstock, Roger I (Roger); Pg Bugs
Subject: Re: [BUGS] BUG #4785: Installation fails

[Please keep the list CC'd]

On Thu, May 7, 2009 at 3:14 AM, Krimstock, Roger I (Roger)
<rik(at)avaya(dot)com> wrote:
> 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)?
>>>>>>[RIK] for both users, "rik" and "postgres", the response is:
"Access is denied"

OK, so the basic question is, why can't you set permissions on that
directory? The installer obviously thinks you have some admin
privileges, otherwise it would have aborted at startup. Can you answer
the following please and we can try to figure out the issue?

- Is your computer on a domain?
- Is your user account a domain or local account?
Domain account
- Are you a local administrator, domain administrator or member of the
power users group (or anything similar?)
Local administrator and I added myself to power users.
- Do you have permissions to write to each directory in the path
C:\Program Files\PostgreSQL\8.4\data ?
- Is this an NTFS filesystem?

Dave Page
EnterpriseDB UK:

In response to


pgsql-bugs by date

Next:From: Dave PageDate: 2009-05-12 07:56:31
Subject: Re: BUG #4785: Installation fails
Previous:From: Tom LaneDate: 2009-05-11 18:04:22
Subject: Re: BUG #4721: All sub-tables incorrectly included in search plan for partitioned table

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