| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | Filippo Toso <filippotoso(at)libero(dot)it> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #2993: The program "postgres" is needed by initdb but was not found ... |
| Date: | 2007-02-14 18:06:06 |
| Message-ID: | 20070214180606.GH26194@svr2.hagander.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2007-02-14 18:57:18 | Re: BUG #2997: parse error: setObject("2004-August-15",java.sql.Types.DATE) |
| Previous Message | Bruce Momjian | 2007-02-14 17:16:25 | Re: BUG #2997: parse error: setObject("2004-August-15",java.sql.Types.DATE) |