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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=cRCu3vp6w+0UMRBhal2ct3MV2h7DD udhBtG5mwNvWDkTkS7FWEalGAvFaheb9DkcRodcMkzPmdyWLxWo9R8YH9eZteOID OlLSnLxp9Kk2SN1rII8L0zHdoTOR5CsP4XwKslUPq85ZA7ac4C1I90OQJs2OMvHx 7o6xjG2rqyFf5I= 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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=57WTBFT3TJ0plJJ971dfEmmFj9Q=; b=KxM 2Fn5sar1JgkpMo6uZIVq77uMXnRQh2XSyRcic3R/YDhCcikBdLhdHwLpxp+t8DiN Lg/U81b6QU68H+PmbHAL2TgFk8dA68lXbalOh+3byPNjzGsWQi6c33K+18z+i3Y/ oWErZm41BG494+yLQ48/7EA+9I3ES7njB7kqgOIs= 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=-0.8 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RDNS_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: nihxway5out.hub.nih.gov X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhEFAEPiMVKcKEez/2dsb2JhbABbgweBCr1kgn6BHBZtB4ImAQEEDAZ3AgEIDRUkHxMXAQ0CBBsah2CgCJwojzo4gx2BAAOIf4VMkAWLHIMigio From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin AT cygwin DOT com" Subject: RE: cannot run setup64.exe without admin privileges (even if renamed foo.exe) Date: Thu, 12 Sep 2013 15:52:42 +0000 Message-ID: <6CF2FC1279D0844C9357664DC5A08BA2148E6C@MLBXV06.nih.gov> 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="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r8CFrMex022387 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. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- 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