delorie.com/archives/browse.cgi | search |
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=F6BRvUvaX8nhX5gCrEwgqS2fIoBWi+V9wCX/+2vpRp8 | |
hJB1JZDNvHNUyVnNT1k/xkWMJtlhx0yw9QWqcEDPMvfJIi0nYPjDM4GGox+rmHfZ | |
kCTjNjiE8UH3QEkPXefec7T8tLCnpjak4INQ6PVhJvkeyRG2f2eWbDSsxcpWQeO0 | |
= | |
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=qjdeu3mMaiEZShz9PYtvdBtSQ78=; b=suDw3n8naD/h0Qaew | |
fnM7iBJ7kepzqw1oncuYHp4hQGegnAzYbFJk3yRR/zDFhiWeAlOV0/G08yAH+yQE | |
iN+BdNOcccrfFH2QQCg9DHXPcJcDtiPOt6zWld5ollBBfO4Bo4dZkSMfaByhwB04 | |
XUwj4jkS4N5VX2wDvTqexFXi08= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50,KHOP_THREADED autolearn=ham version=3.3.2 |
X-HELO: | bureau84.ns.utoronto.ca |
Message-ID: | <5231F301.7090205@cs.utoronto.ca> |
Date: | Thu, 12 Sep 2013 12:59:45 -0400 |
From: | Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
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: | <CAPw2spinsbSZaduOMJtgR6rkaoJA9s7rTm6LCwvWBCK9-kiN8A AT mail DOT gmail DOT com> <6CF2FC1279D0844C9357664DC5A08BA2148DD6 AT MLBXV06 DOT nih DOT gov> <CAPw2spjNRbE1CVoLV1k9_YAaYaBjnRNStpB4s5kcX=OLkLRhGg AT mail DOT gmail DOT com> <5231DE3D DOT 1030706 AT cs DOT utoronto DOT ca> <6CF2FC1279D0844C9357664DC5A08BA2148E6C AT MLBXV06 DOT nih DOT gov> |
In-Reply-To: | <6CF2FC1279D0844C9357664DC5A08BA2148E6C@MLBXV06.nih.gov> |
X-IsSubscribed: | yes |
On 12/09/2013 11:52 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Ryan Johnson sent the following at Thursday, September 12, 2013 11:31 AM >>>> 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". >> On 12/09/2013 11:26 AM, Frédéric Bron wrote: 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). > Try this. > > In a cmd.exe shell: > > type setup64.exe > foo.exe > > I did a cmp and the two files were identical (using 32 bit setup.exe). > > I also tried in bash: > > $ cat setup.exe > foo2.exe > > Again the files were identical. However, ls showed permission for foo.exe > (made under cmd) as rwx while foo2.exe made under bash was rw-. Both open > fine from Windows Explorer. The problem isn't rw-, it's Windows insisting that the executable run with admin rights even though it doesn't actually need them. Ryan -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |