Re: Initdb on Windows 2003 - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Initdb on Windows 2003
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0F81F@algol.sollentuna.se
Whole thread Raw
In response to Initdb on Windows 2003  (<James_Hughes@McAfee.com>)
List pgsql-hackers
> All
>
> I have determined what is causing the failure. It appears
> that the stdout & stderr redirection to nul produces the
> "Access is Denied."
> message. This is happening even if I type "dir >nul" at the
> command prompt! I assume that this re-direction in PostgreSQL
> is done when starting postgres.exe as to allow the
> communction between the two processes?
>
> I know this is not the correct place to ask my next question
> but maybe there is a Windows expert out there :o) Does anyone
> have any idea how Windows controls access to devices such as
> nul,comN, lpt1, etc? Or what security setting governs this?
>
> Thanks all for your help.

Wow, that's really interesting. Never heard of that one before.

Can you run filemon and/or regmon from sysinternals.com, and see exactly
what object it gets access denied on?

Oh, and did you try this without antivirus/antispyware/personalfirewall
as I beleive someone suggested? Same result, or different but still
broken?

//Magnus


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: PostgreSQL Anniversary Summit, Call for Contributions
Next
From: Csaba Nagy
Date:
Subject: Re: PostgreSQL Anniversary Summit, Call for Contributions