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=mMKZmb6K1ki/BpjYAWa5eOuXezwwuThwQNh/PB93tZW8I5biKSPE1 pETbAPHlaeaJCjixjdYnobT77GTUt4x+TZZm97BRupigLH2PV5gjPF6fi5lrBbZo qsE7AcjEkcbwt8hGoOF0kdng0+9EbMNMLnG3/eLRnDlzs17ZEg0ldo= 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=Dg5bnzDAvmygS9C245SNx+pbf5k=; b=rq8jJ0qAuMJxxjYUaiI9vhtVl5wJ 2lAsvQnitM4Ovbx/kBSKjrWF3MM2xuJuBfyq09oW9h+6VxV1HP4NIzvi3JhxUfqX a60O8imQABTb/cqhKWnt99ilZm4S0CRDMu5/h1Bkf/QXYxvwfT2D9H2AXG54M0Mu GUt+4/CXeLCXcBo= 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 X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_05,RDNS_NONE autolearn=no version=3.3.1 Date: Tue, 23 Jul 2013 20:46:15 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: setup-x86_64: postinstall errors: Package bash 1, Package a2ps 2 and xinit 134 Message-ID: <20130723184615.GK9689@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <51EE0951 DOT 90007 AT users DOT sourceforge DOT net> <51EEC7F2 DOT 5000402 AT cwilson DOT fastmail DOT fm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <51EEC7F2.5000402@cwilson.fastmail.fm> User-Agent: Mutt/1.5.21 (2010-09-15) On Jul 23 14:14, Charles Wilson wrote: > On 7/23/2013 12:40 AM, Yaakov (Cygwin/X) wrote: > >On 2013-07-22 19:52, Kenneth Wolcott wrote: > >>Postinstall errors: > >> > >>Package: xinit > >> xinit.sh exit code 134 > > > >This is from a SIGABRT in mkshortcut. Chuck? > > From xinit.sh: > /usr/bin/mkshortcut $CYGWINFORALL -P ..... > where $CYGWINFORALL is probably -A > > This is the same bug as this one: > http://www.cygwin.com/ml/cygwin/2013-01/msg00261.html > > I never replied directly to that message (I was still AWOL at the > time), but I later referenced it here: > http://cygwin.com/ml/cygwin/2013-06/msg00214.html > > >I believe your report has to do with error handling when attempting > >to modify the All User's Desktop, when you don't actually retain the > >elevated permissions necessary to do so. > > > >However, mkshortcut shouldn't *hang* in that case, so it's definitely > >mkshortcut bug. I just haven't had the cycles to track it down and > >fix it. PTC... > > ...and that's still true. Is there are way for setup.exe to > delegate its elevated credentials down to /bin/bash, and thence to > mkshortcut.exe? Otherwise, even the *fix* for this bug will just > make it not hang or crash; it will still fail to modify the > all-users start menu/desktop. Setup does not give up any of it's permissions when starting the postinstall scripts via CreateProcess. The scripts have the same permissions as setup itself, which makes a lot of sense if you think about it. Missing permissions to change system dirs should only occur if setup has been started as non-admin, or if the UAC installer recognition has been switched off (affects only the 32 bit version). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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