Re: BUG #4785: Installation fails - Mailing list pgsql-bugs

From Dave Page
Subject Re: BUG #4785: Installation fails
Date
Msg-id 937d27e10905070130v38cf8438te877d4b119efab06@mail.gmail.com
Whole thread Raw
In response to BUG #4785: Installation fails  ("Roger Krimstock" <rik@avaya.com>)
Responses Re: BUG #4785: Installation fails  ("Krimstock, Roger I (Roger)" <rik@avaya.com>)
List pgsql-bugs
[Please keep the list CC'd]

On Thu, May 7, 2009 at 3:14 AM, Krimstock, Roger I (Roger)
<rik@avaya.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
commandprompt 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?
- Are you a local administrator, domain administrator or member of the
power users group (or anything similar?)
- 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:   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: Mikael Krantz
Date:
Subject: Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file