BUG #4226: PG_CTL fails to strip admin rights before running postgres - Mailing list pgsql-bugs

From Austin Lee
Subject BUG #4226: PG_CTL fails to strip admin rights before running postgres
Date
Msg-id 200806062308.m56N883F005351@wwwmaster.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4226
Logged by:          Austin Lee
Email address:      Austin_Lee@rapid7.com
PostgreSQL version: 8.2.7
Operating system:   Win2k3R2SP2
Description:        PG_CTL fails to strip admin rights before running
postgres
Details:

I am trying to run pg_ctl.exe as admin when I get this error.
"FATAL: postgres: could not locate matching postgres executable."

I know there was a fix in 8.2.7 to fix this permission admin rights issue.
I've observed the fix in initdb.exe.  In 8.2.1 initdb fails because it can't
find postgres.  In 8.2.7 initdb success.

I assumed pg_ctl would have the same behaivor since I see the same calls to
AddUserDacl that I saw for initdb.  However, I am still coming up error for
pg_ctl which I believe might be a windows permission issue.

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #4116: Cannot create tablespace: could not set permissions on directory
Next
From: Tom Lane
Date:
Subject: Re: BUG #4116: Cannot create tablespace: could not set permissions on directory