Re: BUG #2993: The program "postgres" is needed by initdb but was not found ... - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #2993: The program "postgres" is needed by initdb but was not found ...
Date
Msg-id 20070214180606.GH26194@svr2.hagander.net
Whole thread Raw
In response to Re: BUG #2993: The program "postgres" is needed by initdb but was not found ...  (Magnus Hagander <magnus@hagander.net>)
List pgsql-bugs
On Wed, Feb 14, 2007 at 01:49:43PM +0100, Filippo Toso wrote:
> Dear Magnus,
>
> > > The pgsql directory privileges are set to Everyone (Full Control).
> >
> > Hmm. Bummer. I really thought that was it. Can you check the full
> > directory tree up to the root directory as well, to see if there's
> > someplace else there where the user couldn't get in withotu admin/pu?
>
> The directory structure is the following:
>
> C:\pgsql\bin\initdb.exe
> C:\pgsql\bin\postgres.exe
>
> I have logged out and re-logged in as an user of Users group. As this user I
> can create/edit/delete all the files and directories in all the folders and
> subfolders of C:\pgsql\, I can start C:\pgsql\bin\initdb.exe and it works
> perfectly. If I try to do the same as Administrator, it fails.

This sounds a lot like the user is getting the permissions through
Administrators or Power Users. Note that Administrators !=
Administrator. If permissions are set with the group only, you will get
the error.

//Magnus

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #2997: parse error: setObject("2004-August-15",java.sql.Types.DATE)
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #2997: parse error: setObject("2004-August-15",java.sql.Types.DATE)