This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Vista problem / heuristic status elevation / manifests
- From: Daniel Povey <dpovey at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 27 Sep 2010 11:27:06 -0700
- Subject: Vista problem / heuristic status elevation / manifests
- Reply-to: dpovey at gmail 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