Re: initdb failing: Invalid binary "/usr/bin/postgres"? - Mailing list pgsql-cygwin

From dbruzzone@attbi.com
Subject Re: initdb failing: Invalid binary "/usr/bin/postgres"?
Date
Msg-id 20020711221650.UVOG24728.rwcrmhc51.attbi.com@rwcrwbc55
Whole thread Raw
In response to initdb failing: Invalid binary "/usr/bin/postgres"?  ("Davide Bruzzone" <dbruzzone@attbi.com>)
List pgsql-cygwin
> What is the output of the following command?
>
>     $ ls -ld /usr/bin
>
> My WAG is that you will get something like following:
>
>     drwx------    2 Davide   None            0 Jul 11
09:16 /usr/bin
>
> Am I correct?

Yes.

> Use the following to fix at least this aspect:
>
>     $ chown 544 /usr/bin
>     $ chmod 755 /usr/bin
>
> Try re-installing PostgreSQL (again).
Does /usr/bin/postgres.exe
> install with the appropriate permissions?

It worked... Don't know why the directory permissions
would be wrong on a fresh Cygwin install though...

Cheers...

Dave

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: initdb failing: Invalid binary "/usr/bin/postgres"?
Next
From: s0lao@netscape.net (S. L.)
Date:
Subject: Re: initdb failing: Invalid binary "/usr/bin/postgres"?