delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/09/10:01:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <028701c35e7e$b83cfa00$2394883e@starfruit>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Jason Tishler" <jason AT tishler DOT net>
Cc: <cygwin AT cygwin DOT com>
References: <CNELLBDHOKALJPHOOBBEIELDDHAA DOT srubin AT thoughtprocess DOT com> <00bb01c35a16$9057cf40$5400a8c0 AT starfruit> <20030804122611 DOT GC564 AT tishler DOT net> <01dd01c35b42$e5670910$017c883e AT starfruit> <20030805113503 DOT GD2044 AT tishler DOT net>
Subject: Re: bug in setup.exe for postgresql-7.3.4-1
Date: Sat, 9 Aug 2003 15:01:06 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Jason Tishler wrote:
> Max,
>
> On Tue, Aug 05, 2003 at 11:58:07AM +0100, Max Bowsher wrote:
>> Jason Tishler wrote:
>>> Is there any way to solve this problem without me adding a
>>> postinstall script that performs a "chmod +rx" on all *.exe and
>>> *.dll files installed by this packages?
>>
>> Yes. PTC for setup.
>
> Would the following patch or an extension to it help?
>
>     http://sources.redhat.com/ml/cygwin-apps/2003-04/msg00127.html

AFAIK, no.

IIUC, the problem here is that postmaster wants execute perms on
postgres.exe, but it is running neither as the user who installed Cygwin,
nor as a member of the Users group. Essentially, postgres could encounter
the same problem on an ACL-enabled Linux system. One solution would be for
postmaster to use the access() function, which is ACL-aware on Cygwin - I
don't know about Linux.

>> Please please please don't add this kind of postinstall script.
>
> OK, I won't.  However, I've been getting hammered by this problem for
> some time.  IIRC, since XP was released.

A lot more people using ntsec, I guess.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019