Re: BUG #2646: Installation Failed due to Permissions - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #2646: Installation Failed due to Permissions
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FBEE@algol.sollentuna.se
Whole thread Raw
In response to BUG #2646: Installation Failed due to Permissions  ("Willa Wei" <wwei@mda.ca>)
List pgsql-bugs
> Bug reference:      2646
> Logged by:          Willa Wei
> Email address:      wwei@mda.ca
> PostgreSQL version: 8.1.4
> Operating system:   Windows XP Pro
> Description:        Installation Failed due to Permissions
> Details:=20
>=20
> Dear support,
>=20
> I tried to install PostgreSQL version 8.1.4 on a cooperate=20
> computer and it failed all the time no matter what I did. As=20
> corporate security police, each of us has given one corporate=20
> network user admin account and regular user account. The=20
> PostgresSQL installer also created a service account on local=20
> machine. I know we supposed not to use admin account. So, I=20
> tried to install the software using the two non-admin=20
> accounts and I got different results:

You must install *from* an admin account. The account used by the
PostgreSQL *service* must *not* be an admin account. This can either be
a pre-existing account, or the installer can create it for you. If your
corporate policy dictates that you can't create other local accounts,
you can just use your standard non-admin account.

> 1. Login as postgres service account

This is where you go wrong. You must log in as a user that is admin.

> 3. I unplug the network connection and login again with above=20
> cases. The installer behaved the same.

Yeah, that should make no difference.


> If this is not a bug, then what What kind of permission=20
> policy does the installer required? Is there anybody else who=20
> has the similar problem? How can we work around this problem?


There is also a FAQ notice on what permissions you need to grant in the
filesystem. Often the default ones will work just fine, but it's
possible that your corporate group policies have changed this in some
way. (Offline ATM, so I can't dig out the link for you. But it's on
www.postgresql.org/docs, under FAQs)


//Magnus

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2655: failed to make
Next
From: "Magnus Hagander"
Date:
Subject: Re: BUG #2642: Connection problems without IPv6