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

From Filippo Toso
Subject Re: BUG #2993: The program "postgres" is needed by initdb but was not found ...
Date
Msg-id 000001c75036$9ad3b410$a73d1997@humanprofile
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
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.

Sincerely,
Filippo Toso

pgsql-bugs by date:

Previous
From: "Phil Endecott"
Date:
Subject: Re: BUG #3002: PQexecParams only supports some commands; needs improved error reporting, documenting or fixing
Next
From: Phil Frost
Date:
Subject: Re: Segfaults and assertion failures with not too extraordinary views and queries