This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
- From: LRN <lrn1986 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 12 Sep 2013 19:44:20 +0400
- Subject: Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
- Authentication-results: sourceware.org; auth=none
- References: <CAPw2spinsbSZaduOMJtgR6rkaoJA9s7rTm6LCwvWBCK9-kiN8A at mail dot gmail dot com> <6CF2FC1279D0844C9357664DC5A08BA2148DD6 at MLBXV06 dot nih dot gov> <CAPw2spjNRbE1CVoLV1k9_YAaYaBjnRNStpB4s5kcX=OLkLRhGg at mail dot gmail dot com> <5231DE3D dot 1030706 at cs dot utoronto dot ca>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12.09.2013 19:31, Ryan Johnson wrote:
> On 12/09/2013 11:26 AM, FrÃdÃric Bron wrote:
>>> 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".
> 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).
You can graft manifests into exe files. Such manifest could be written
to tell W32 that the executable does NOT need to be run as Administrator.
I used that in my MSYS2 releases to fix /usr/bin/install,
/usr/bin/patch, /usr/bin/install-info and some git utils.
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJSMeFUAAoJEOs4Jb6SI2Cw0twH/1zJIWHvd/CI5P17qk7T611U
GNgwCvMvHAuimfKG1LZsK1d2GqWozWlCi/iNkfXZ1GUMekE7jlY1n+ZgUj1dBg/M
o344spHeTJWd8NqX5kScLz0xoR85CRN5W76eEHaaSy70FuvU8e/CpN/x7fuacRBU
IQWkt0JULRTOX0qWTSjy82Gy+tczCf+mI3TaSd2F36Rc1oXIPVCzEsqD8g3Mja70
DABBWo50hHVyO1+LWMjomoM8dEek3tQqP+hcWjBwlc3kluZr+TkgMAwu3j1PQxPy
WTcsTZANmbAM3sKXJoygHCEz+0CBu5Mmg6HZfyhpCDG4nwZCz3djOU/dPj1tuvU=
=lFIl
-----END PGP SIGNATURE-----
--
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