delorie.com/archives/browse.cgi | search |
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: | <3E8DA250.E8687FCA@ieee.org> |
Date: | Fri, 04 Apr 2003 10:18:40 -0500 |
From: | "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org> |
X-Accept-Language: | en,pdf |
MIME-Version: | 1.0 |
To: | Rudiyanto Gunawan <rudiyantogunawan AT hotmail DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: Postinstall failure: file not found |
References: | <F84TDnJkHHFvhsl5AsK000144fd AT hotmail DOT com> |
OK, I've got it: /> sh -c sayhi hi /> sh -c /sayhi /sayhi: not found With strace I saw that sh uses stat (which won't show rxw rights in this case) and it behaves differently for absolute paths. Possible fixes: 1) cd to /etc/postinstall before running the scripts and use relative paths 2) Put my 2nd ntsec patch in setup (I have asked Rudiyanto to test it) 3) Run the postinstall scripts with CYGWIN=nontsec, for boostrap. Note that scripts that rely on ntsec (chmod or chown) will need to turn ntsec on. 4) patch sh.exe 5) ??? Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |