X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=oPLzu08MRBxqhKhBc9w2u75oMQL0+pbrz/NYwQkGCzGltnKL0Lxr8 h6GwH/3E6uYR9MxzmRGZYRVyTLGSOYTM25ob4IBy1iPnog1tTdoHZ30KUYw60AfN /wqHfjxFAylRRPX8WFB2sl0RYrI4/oYqc0v1ferI0zvWp/hEuNGxG0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=iCsvA751bj72E9W7Ls0DtPdCNFs=; b=y5sYTo2bnS7AVKWSVFGV0DBGbZ+O Vuf5Xj9vwTs/Tih4mmM3LvYIdr+uAGf7UJ1etg8+FOIQj106rI9nMr63h7SFvgZ/ X0ZBCIHXtdcb+x2gBHATCOusuydBSZv5c0doR1xU9lkX3ERNXbSLu/ZJiD8u64zv mLzTpOIFVBB/bxw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 10 Apr 2014 17:59:55 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: symlinks to scripts not found in path Message-ID: <20140410155955.GE2437@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PaACFu8FWA0UZxdw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --PaACFu8FWA0UZxdw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 10 15:51, KARR, DAVID wrote: > On my old 32-bit Win7 box running Cygwin 1.7.26, I have an executable scr= ipt that is intended to be symlinked to and executed as the symlink name. = This works fine. >=20 > On my new 64-bit Win7 box running Cygwin 1.7.29, I created the symlink us= ing "ln -s" as before. When I try to execute the script through the symlin= k, it fails to find it in the path. The script itself has the rx bits set.= I can execute the script directly, although it doesn't do anything useful. >=20 > I didn't see anything obvious in the FAQ or obvious searches. Works fine for me: $ uname -rsm CYGWIN_NT-6.3 1.7.29(0.272/5/3) x86_64 $ mkdir a b $ cd a cat > x.sh <