This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in setup.exe for postgresql-7.3.4-1


Seth Rubin wrote:
> Jason suggested I forward this
>
> -- Seth Rubin
>    ThoughtProcess Techology LLC
>
> -----Original Message-----
> From: pgsql-cygwin-owner@postgresql.org
> [mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Jason Tishler
> Sent: Saturday, August 02, 2003 10:46 AM
> To: Seth Rubin
> Cc: Pgsql-Cygwin
> Subject: Re: [CYGWIN] Updated Cygwin Package: postgresql-7.3.4-1
>
>
> Seth,
>
> On Fri, Aug 01, 2003 at 11:38:25PM -0400, Seth Rubin wrote:
>> postgresql-7.3.4-1 did not work immediately after I upgraded on my XP
>> Home system, but it's OK now.  It was fairly simple -- Here's
>> basically what happened:
>>
>> 1) upgraded my cygwin, including postgresql, from
>> ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
>> 2) did 'net start postmaster'    (I have postgres set up as NT service)
>>    It failed.  Found this in /var/log/postmaster.log:
>>
>>      LOG:  FindExec: invalid binary "/usr/bin/postgres"
>>      FATAL:  /usr/bin/postmaster: could not locate executable, bailing
>> out...
>>
>> 3) Looked at postgres.exe.
>>
>>     $ ls -l /usr/bin/postgre*
>>     -rwxr-x---+   1 Owner    Users     1985024 Aug  1 16:02
>> /usr/bin/postgres.exe
>
> The permissions of postgres.exe is correct in the tarball:
>
>     $ tar -tvjf postgresql-7.3.4-1.tar.bz2 usr/bin/postgres.exe
>     -rwxr-xr-x jt/Domain Users 1985024 2003-08-01 16:02:43
> usr/bin/postgres.exe
>
> AFAICT, the above problem is due to a bug in Cygwin's setup.exe.  Please
> report the problem to the Cygwin list.

Not a bug, so much as the inevitability of being unable to fully represent
all ACLs in POSIX mode bits.

Ultimately, it comes down to a simple choice: Turn off ntsec, or plan your
ACLs carefully.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]