delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 28 Sep 2010 10:14:10 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Vista problem / heuristic status elevation / manifests |
Message-ID: | <20100928081410.GB6694@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <AANLkTikwzVbE1LKy-mx7YJe59WQGTPr5yqUi+viUbPty AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <AANLkTikwzVbE1LKy-mx7YJe59WQGTPr5yqUi+viUbPty@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Sep 27 11:27, Daniel Povey wrote: > 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? This is not a Cygwin problem, but a UAC "feature". Cygwin is a user space DLL. We can't do what the OS doesn't allow. The solutions and workarounds are not diferent from other products. You either distribute the manifest file alongside your executable, or you switch off the feature in the "Local Security Policy" MMC-Snapin locally. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |