Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Jason Tishler" Cc: References: <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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/