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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=SlJ3T3j+4BldOOGKS/AZzWvmI6zLV+MgXG1bjjvgJvq G8csXkHryWpWhFrzBq9lxbv3SAj2rU7twl8HMXhQYJofLK/iLruiHCHnggT+2o+H pVyuzdzMSHfROxP/4AiphEHji0pIiI4G3RzPb/yghSrUpBZAzk794hs/DgUP7SvU = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=8UPsGR8FGRcO8POKLHmSnJKfuEU=; b=V8VD5KGEDJLEl6HXU 3WUlAyA7aw28cCUkljmM6rgFQfX5AjkuCBUM4FE4RUiWQuA/Ce8tBhAUOcQ95dUl 7i35OLRdTfx9fDu3yHDQ5pAcoEekrgpV+tWwO+zmWQDSUF0Y9YAdpgf2JsMO5is4 e/UkKMWTRXijy+Jyff3q7kAdpk= 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.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_PGP_INLINE,KHOP_THREADED autolearn=ham version=3.3.2 X-HELO: mail-lb0-f182.google.com X-Received: by 10.112.146.33 with SMTP id sz1mr7758847lbb.14.1379000663053; Thu, 12 Sep 2013 08:44:23 -0700 (PDT) Message-ID: <5231E154.6020709@gmail.com> Date: Thu, 12 Sep 2013 19:44:20 +0400 From: LRN User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Thunderbird/26.0a1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe) References: <6CF2FC1279D0844C9357664DC5A08BA2148DD6 AT MLBXV06 DOT nih DOT gov> <5231DE3D DOT 1030706 AT cs DOT utoronto DOT ca> In-Reply-To: <5231DE3D.1030706@cs.utoronto.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12.09.2013 19:31, Ryan Johnson wrote: > On 12/09/2013 11:26 AM, Frédéric Bron wrote: >>> Try *copying* setup64.exe to foo.exe. Or download it again but save it >>> with the name foo.exe. >>> Windows may be remembering that the file used to be called setup*.exe. >>> That memory might not get copied. >> Doesn't work: "the requested operation requires elevation". > I have vague memories that someone (Corinna?) suggested copying the file > to a USB key and back: the FAT filesystem can't track the permissions > that cause this behavior. Never tested it myself, though (maybe I > should, it would be nice to lose the UAC prompt). You can graft manifests into exe files. Such manifest could be written to tell W32 that the executable does NOT need to be run as Administrator. I used that in my MSYS2 releases to fix /usr/bin/install, /usr/bin/patch, /usr/bin/install-info and some git utils. - -- O< ascii ribbon - stop html email! - www.asciiribbon.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iQEcBAEBAgAGBQJSMeFUAAoJEOs4Jb6SI2Cw0twH/1zJIWHvd/CI5P17qk7T611U GNgwCvMvHAuimfKG1LZsK1d2GqWozWlCi/iNkfXZ1GUMekE7jlY1n+ZgUj1dBg/M o344spHeTJWd8NqX5kScLz0xoR85CRN5W76eEHaaSy70FuvU8e/CpN/x7fuacRBU IQWkt0JULRTOX0qWTSjy82Gy+tczCf+mI3TaSd2F36Rc1oXIPVCzEsqD8g3Mja70 DABBWo50hHVyO1+LWMjomoM8dEek3tQqP+hcWjBwlc3kluZr+TkgMAwu3j1PQxPy WTcsTZANmbAM3sKXJoygHCEz+0CBu5Mmg6HZfyhpCDG4nwZCz3djOU/dPj1tuvU= =lFIl -----END PGP SIGNATURE----- -- 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