delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/24/18:26:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <1319495144.34788.YahooMailClassic@web120717.mail.ne1.yahoo.com>
Date: Mon, 24 Oct 2011 15:25:44 -0700 (PDT)
From: Regid Ichira <regid23 AT yahoo DOT com>
Subject: RE: Re: How to investigate a bug in /bin/mkshortcut.exe ?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9OMQ6jC005807

On 24 October 2011 08:38:07 +0100, Andy Koppe wrote:

> On 23 October 2011 23:14, Regid Ichira wrote:
> > Â/etc/postinstall/mintty.sh's exit code is 127.
> >
> > Â Â$ cat /etc/postinstall/mintty.sh
> > Â ÂPROGS=$(/bin/cygpath -P $CYGWINFORALL)
> > Â Â/bin/mkdir -p "$PROGS/Cygwin" &&
> > Â Âcd "$PROGS/Cygwin" &&
> > Â Â/bin/mkshortcut -n mintty /bin/mintty -a - -d "Cygwin Terminal"
> >
> > By running those commands manually, I think the problem is the last,
> > /bin/mkshortcut, line. ÂHow can I investigate it more?
> >
> > Â Â$ cygcheck -f /bin/mkshortcut.exe
> > Â Âcygutils-1.4.6-1
> >
> > Â Â$ file /bin/mkshortcut.exe
> > Â Â/bin/mkshortcut.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows
> 
> Try cygcheck without the -f to check that the DLLs that mkshortcut
> depends on are present.
> 
> cygcheck /bin/mkshortcut.exe
> 

  cygwin1.dll, cyggcc_s-1.dll and cygopt-0.dll are installed and up to date.
Would there be an explicit no permission message if the windows/system32/*.dll
user and group are not accessible by the uid owner of the process?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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