This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Vista problem / heuristic status elevation / manifests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]