X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Reply-To: dpovey AT gmail DOT com Date: Mon, 27 Sep 2010 11:27:06 -0700 Message-ID: Subject: Vista problem / heuristic status elevation / manifests From: Daniel Povey To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 When running cygwin on Windows 7, if you compile programs with names that include "update" and "install" and other keywords, they won't execute. It seems to relate to heuristic privelege elevation: http://blogs.msdn.com/b/onoj/archive/2007/04/20/windows-vista-uac-and-installer-detection.aspx A minimal example is: echo "int main(){ } " > tmp.cc; gcc tmp.cc -o update; ./update [will get some kind of access denied message] The way to fix this seems to be to embed a manifest, but gcc is not doing this by default. Does anyone know if it's possible to patch Cygwin to get around this issue, or if there is a user-level fix or workaround? Please cc me as I am not on the list. Dan -- 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